diff options
-rw-r--r-- | sc/source/filter/xml/xmlrowi.cxx | 6 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlrowi.hxx | 7 |
2 files changed, 5 insertions, 8 deletions
diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx index f6b1ae057247..548eafc08c36 100644 --- a/sc/source/filter/xml/xmlrowi.cxx +++ b/sc/source/filter/xml/xmlrowi.cxx @@ -221,9 +221,7 @@ ScXMLTableRowsContext::ScXMLTableRowsContext( ScXMLImport& rImport, const bool bTempHeader, const bool bTempGroup ) : SvXMLImportContext( rImport, nPrfx, rLName ), nHeaderStartRow(0), - nHeaderEndRow(0), nGroupStartRow(0), - nGroupEndRow(0), bHeader(bTempHeader), bGroup(bTempGroup), bGroupDisplay(true) @@ -302,7 +300,7 @@ void ScXMLTableRowsContext::EndElement() ScXMLImport& rXMLImport(GetScImport()); if (bHeader) { - nHeaderEndRow = rXMLImport.GetTables().GetCurrentRow(); + SCROW nHeaderEndRow = rXMLImport.GetTables().GetCurrentRow(); if (nHeaderStartRow <= nHeaderEndRow) { uno::Reference <sheet::XPrintAreas> xPrintAreas (rXMLImport.GetTables().GetCurrentXSheet(), uno::UNO_QUERY); @@ -327,7 +325,7 @@ void ScXMLTableRowsContext::EndElement() } else if (bGroup) { - nGroupEndRow = rXMLImport.GetTables().GetCurrentRow(); + SCROW nGroupEndRow = rXMLImport.GetTables().GetCurrentRow(); SCTAB nSheet(rXMLImport.GetTables().GetCurrentSheet()); if (nGroupStartRow <= nGroupEndRow) { diff --git a/sc/source/filter/xml/xmlrowi.hxx b/sc/source/filter/xml/xmlrowi.hxx index c24a103f9b6e..83e13d59cc88 100644 --- a/sc/source/filter/xml/xmlrowi.hxx +++ b/sc/source/filter/xml/xmlrowi.hxx @@ -21,6 +21,7 @@ #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> +#include "address.hxx" class ScXMLImport; @@ -53,10 +54,8 @@ public: class ScXMLTableRowsContext : public SvXMLImportContext { - sal_Int32 nHeaderStartRow; - sal_Int32 nHeaderEndRow; - sal_Int32 nGroupStartRow; - sal_Int32 nGroupEndRow; + SCROW nHeaderStartRow; + SCROW nGroupStartRow; bool bHeader; bool bGroup; bool bGroupDisplay; |