summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/xml/xmllabri.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmllabri.hxx')
-rw-r--r--sc/source/filter/xml/xmllabri.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sc/source/filter/xml/xmllabri.hxx b/sc/source/filter/xml/xmllabri.hxx
index c384e9960538..590fc037aa78 100644
--- a/sc/source/filter/xml/xmllabri.hxx
+++ b/sc/source/filter/xml/xmllabri.hxx
@@ -20,14 +20,13 @@
#define INCLUDED_SC_SOURCE_FILTER_XML_XMLLABRI_HXX
#include <xmloff/xmlictxt.hxx>
-
-class ScXMLImport;
+#include "xmlimprt.hxx"
class ScXMLLabelRangesContext : public SvXMLImportContext
{
private:
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
- ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
+ const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); }
+ ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); }
public:
ScXMLLabelRangesContext(
@@ -53,8 +52,8 @@ private:
OUString sDataRangeStr;
bool bColumnOrientation;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
- ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
+ const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); }
+ ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); }
public:
ScXMLLabelRangeContext(