diff options
Diffstat (limited to 'sc/source/filter/xml/xmllabri.hxx')
-rw-r--r-- | sc/source/filter/xml/xmllabri.hxx | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/sc/source/filter/xml/xmllabri.hxx b/sc/source/filter/xml/xmllabri.hxx index 5f26a3cf074d..e0f78b7f098a 100644 --- a/sc/source/filter/xml/xmllabri.hxx +++ b/sc/source/filter/xml/xmllabri.hxx @@ -21,13 +21,10 @@ #include <xmloff/xmlictxt.hxx> #include "xmlimprt.hxx" +#include "importcontext.hxx" -class ScXMLLabelRangesContext : public SvXMLImportContext +class ScXMLLabelRangesContext : public ScXMLImportContext { -private: - const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); } - ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); } - public: ScXMLLabelRangesContext( ScXMLImport& rImport, @@ -45,16 +42,13 @@ public: virtual void EndElement() override; }; -class ScXMLLabelRangeContext : public SvXMLImportContext +class ScXMLLabelRangeContext : public ScXMLImportContext { private: - OUString sLabelRangeStr; - OUString sDataRangeStr; + OUString sLabelRangeStr; + OUString sDataRangeStr; bool bColumnOrientation; - const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); } - ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); } - public: ScXMLLabelRangeContext( ScXMLImport& rImport, |