[gnumeric] fix unknown element warning in xlsx import



commit 5da5272c7560fb279c59558eeab828fd3d920f44
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Tue Jul 2 22:05:29 2013 -0600

    fix unknown element warning in xlsx import
    
    2013-07-02  Andreas J. Guelzow <aguelzow pyrshep ca>
    
        * xlsx-read.c (xlsx_sheet_dtd): attach protectedRange to the
        correct parent

 plugins/excel/ChangeLog   |    5 +++++
 plugins/excel/xlsx-read.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index e6fd707..50c0300 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-02  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+       * xlsx-read.c (xlsx_sheet_dtd): attach protectedRange to the
+       correct parent
+
 2013-07-02  Morten Welinder  <terra gnome org>
 
        * ms-excel-write.c (excel_write_autofilter_names): Use
diff --git a/plugins/excel/xlsx-read.c b/plugins/excel/xlsx-read.c
index 47c5aec..7959d13 100644
--- a/plugins/excel/xlsx-read.c
+++ b/plugins/excel/xlsx-read.c
@@ -3055,7 +3055,7 @@ GSF_XML_IN_NODE (CELL, EXTLST, XL_NS_SS, "extLst", GSF_XML_NO_CONTENT, NULL, NUL
   GSF_XML_IN_NODE (SHEET, SCENARIOS, XL_NS_SS, "scenarios", GSF_XML_NO_CONTENT, NULL, NULL),
     GSF_XML_IN_NODE (SCENARIOS, INPUT_CELLS, XL_NS_SS, "inputCells", GSF_XML_NO_CONTENT, NULL, NULL),
   GSF_XML_IN_NODE (SHEET, PROTECTED_RANGES, XL_NS_SS, "protectedRanges", GSF_XML_NO_CONTENT, NULL, NULL),
-    GSF_XML_IN_NODE (SHEET, PROTECTED_RANGE, XL_NS_SS, "protectedRange", GSF_XML_NO_CONTENT, NULL, NULL),
+    GSF_XML_IN_NODE (PROTECTED_RANGES, PROTECTED_RANGE, XL_NS_SS, "protectedRange", GSF_XML_NO_CONTENT, 
NULL, NULL),
 
   GSF_XML_IN_NODE (SHEET, CT_AutoFilter, XL_NS_SS, "autoFilter", GSF_XML_NO_CONTENT,
                   &xlsx_CT_AutoFilter_begin, &xlsx_CT_AutoFilter_end),


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