summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmltabi.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmltabi.hxx')
-rw-r--r--sc/source/filter/xml/xmltabi.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sc/source/filter/xml/xmltabi.hxx b/sc/source/filter/xml/xmltabi.hxx
index 40817702ce32..a42ecb489811 100644
--- a/sc/source/filter/xml/xmltabi.hxx
+++ b/sc/source/filter/xml/xmltabi.hxx
@@ -21,6 +21,7 @@
#include "externalrefmgr.hxx"
#include "xmlimprt.hxx"
+#include "importcontext.hxx"
#include <xmloff/xmlictxt.hxx>
#include <memory>
@@ -37,7 +38,7 @@ struct ScXMLExternalTabData
ScXMLExternalTabData();
};
-class ScXMLTableContext : public SvXMLImportContext
+class ScXMLTableContext : public ScXMLImportContext
{
OUString sPrintRanges;
::std::unique_ptr<ScXMLExternalTabData> pExternalRefInfo;
@@ -45,9 +46,6 @@ class ScXMLTableContext : public SvXMLImportContext
bool bStartFormPage;
bool bPrintEntireSheet;
- const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); }
- ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); }
-
public:
ScXMLTableContext( ScXMLImport& rImport, sal_uInt16 nPrfx,
@@ -63,10 +61,8 @@ public:
virtual void EndElement() override;
};
-class ScXMLTableProtectionContext : public SvXMLImportContext
+class ScXMLTableProtectionContext : public ScXMLImportContext
{
- ScXMLImport& GetScImport();
-
public:
ScXMLTableProtectionContext( ScXMLImport& rImport, sal_uInt16 nPrefix,
const OUString& rLName,