static void process_node (struct gnumeric_reader *r);
-const char *
+char *
gnumeric_get_sheet_range (struct spreadsheet *s, int n)
{
int ret;
}
else if (XML_READER_TYPE_TEXT == r->node_type)
{
+#if MODEL_SHOULD_WORK
if ( r->target_sheet != NULL)
{
xmlChar *value = xmlTextReaderValue (r->xtr);
{
r->state = STATE_SHEET_FOUND;
}
+#else
+ r->state = STATE_SHEET_FOUND;
+#endif
}
break;
case STATE_SHEET_FOUND:
const char * gnumeric_get_sheet_name (struct spreadsheet *s, int n);
-const char * gnumeric_get_sheet_range (struct spreadsheet *s, int n);
+char * gnumeric_get_sheet_range (struct spreadsheet *s, int n);
void gnumeric_destroy (struct spreadsheet *);