[gnumeric] .gnumeric: take advantage of new libgsf feature



commit 01f688d405a111814a31fb040557d597d0a56946
Author: Morten Welinder <terra gnome org>
Date:   Mon Mar 30 10:45:13 2015 -0400

    .gnumeric: take advantage of new libgsf feature

 ChangeLog          |    4 ++++
 src/xml-sax-read.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d8e14c9..9fce848 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-30  Morten Welinder  <terra gnome org>
+
+       * src/xml-sax-read.c (grammar): Use new libgsf check for "2nd".
+
 2015-03-23  Morten Welinder  <terra gnome org>
 
        * src/sstest.c (rand_fractile_test): Plug leak.
diff --git a/src/xml-sax-read.c b/src/xml-sax-read.c
index 2420640..acf6d44 100644
--- a/src/xml-sax-read.c
+++ b/src/xml-sax-read.c
@@ -3033,7 +3033,7 @@ GSF_XML_IN_NODE_FULL (START, WB, GNM, "Workbook", GSF_XML_NO_CONTENT, TRUE, TRUE
          GSF_XML_IN_NODE (V_PAGE_BREAKS, PAGE_BREAK, GNM, "break", GSF_XML_NO_CONTENT, &xml_sax_page_break, 
NULL),
        GSF_XML_IN_NODE_FULL (SHEET_PRINTINFO, H_PAGE_BREAKS, GNM, "hPageBreaks", GSF_XML_NO_CONTENT,
                              FALSE, FALSE, &xml_sax_page_breaks_begin, &xml_sax_page_breaks_end, 0),
-         GSF_XML_IN_NODE (H_PAGE_BREAKS, PAGE_BREAK, GNM, "break", GSF_XML_NO_CONTENT, NULL, NULL), /* 2nd 
Def */
+         GSF_XML_IN_NODE (H_PAGE_BREAKS, PAGE_BREAK, GNM, "break", GSF_XML_2ND, NULL, NULL),
 
        GSF_XML_IN_NODE (SHEET_PRINTINFO, PRINT_SCALE,      GNM, "Scale",       GSF_XML_CONTENT, 
&xml_sax_print_scale, NULL),
        GSF_XML_IN_NODE (SHEET_PRINTINFO, PRINT_VCENTER,    GNM, "vcenter",     GSF_XML_CONTENT, 
&xml_sax_print_vcenter, NULL),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]