summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlrowi.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmlrowi.hxx')
-rw-r--r--sc/source/filter/xml/xmlrowi.hxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/sc/source/filter/xml/xmlrowi.hxx b/sc/source/filter/xml/xmlrowi.hxx
index 1a45b6763ec0..ea84e9c94992 100644
--- a/sc/source/filter/xml/xmlrowi.hxx
+++ b/sc/source/filter/xml/xmlrowi.hxx
@@ -23,18 +23,16 @@
#include <xmloff/xmlimp.hxx>
#include "address.hxx"
#include "xmlimprt.hxx"
+#include "importcontext.hxx"
-class ScXMLTableRowContext : public SvXMLImportContext
+class ScXMLTableRowContext : public ScXMLImportContext
{
OUString sStyleName;
OUString sVisibility;
sal_Int32 nRepeatedRows;
bool bHasCell;
- const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); }
- ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); }
-
public:
ScXMLTableRowContext( ScXMLImport& rImport, sal_uInt16 nPrfx,
@@ -50,7 +48,7 @@ public:
virtual void EndElement() override;
};
-class ScXMLTableRowsContext : public SvXMLImportContext
+class ScXMLTableRowsContext : public ScXMLImportContext
{
SCROW nHeaderStartRow;
SCROW nGroupStartRow;
@@ -58,9 +56,6 @@ class ScXMLTableRowsContext : public SvXMLImportContext
bool bGroup;
bool bGroupDisplay;
- const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); }
- ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); }
-
public:
ScXMLTableRowsContext( ScXMLImport& rImport, sal_uInt16 nPrfx,