summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmltabi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmltabi.cxx')
-rw-r--r--sc/source/filter/xml/xmltabi.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx
index 25042ba35e4b..98837dd8f4d0 100644
--- a/sc/source/filter/xml/xmltabi.cxx
+++ b/sc/source/filter/xml/xmltabi.cxx
@@ -138,7 +138,7 @@ ScXMLTableContext::ScXMLTableContext( ScXMLImport& rImport,
sal_uInt16 nPrfx,
const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) :
- SvXMLImportContext( rImport, nPrfx, rLName ),
+ ScXMLImportContext( rImport, nPrfx, rLName ),
nStartOffset(-1),
bStartFormPage(false),
bPrintEntireSheet(true)
@@ -420,15 +420,10 @@ void ScXMLTableContext::EndElement()
}
}
-ScXMLImport& ScXMLTableProtectionContext::GetScImport()
-{
- return static_cast<ScXMLImport&>(GetImport());
-}
-
ScXMLTableProtectionContext::ScXMLTableProtectionContext(
ScXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLName,
const Reference<XAttributeList>& xAttrList ) :
- SvXMLImportContext( rImport, nPrefix, rLName )
+ ScXMLImportContext( rImport, nPrefix, rLName )
{
const SvXMLTokenMap& rAttrTokenMap = GetScImport().GetTableProtectionAttrTokenMap();
bool bSelectProtectedCells = false;