summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/contexts.cxx23
-rw-r--r--xmloff/source/chart/contexts.hxx5
2 files changed, 4 insertions, 24 deletions
diff --git a/xmloff/source/chart/contexts.cxx b/xmloff/source/chart/contexts.cxx
index c6056915382a..b11790df77c3 100644
--- a/xmloff/source/chart/contexts.cxx
+++ b/xmloff/source/chart/contexts.cxx
@@ -78,25 +78,6 @@ SchXMLDocContext::~SchXMLDocContext()
{}
-SvXMLImportContextRef SchXMLDocContext::CreateChildContext(
- sal_uInt16 nPrefix,
- const OUString& rLocalName,
- const uno::Reference< xml::sax::XAttributeList >& /*xAttrList*/ )
-{
- SvXMLImportContextRef xContext;
- const SvXMLTokenMap& rTokenMap = mrImportHelper.GetDocElemTokenMap();
-
- switch( rTokenMap.Get( nPrefix, rLocalName ))
- {
- case XML_TOK_DOC_META:
- // we come here in the flat ODF file format,
- // if XDocumentPropertiesSupplier is not supported at the model
- break;
- }
-
- return xContext;
-}
-
uno::Reference< xml::sax::XFastContextHandler > SAL_CALL SchXMLDocContext::createFastChildContext(
sal_Int32 nElement, const uno::Reference< xml::sax::XFastAttributeList >& /*xAttrList*/ )
{
@@ -119,6 +100,10 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL SchXMLDocContext::creat
return
static_cast< SchXMLImport& >( GetImport() ).CreateStylesContext();
break;
+ case XML_ELEMENT(OFFICE, XML_META):
+ // we come here in the flat ODF file format,
+ // if XDocumentPropertiesSupplier is not supported at the model
+ break;
}
return nullptr;
}
diff --git a/xmloff/source/chart/contexts.hxx b/xmloff/source/chart/contexts.hxx
index 81f5e6318239..342066135e2b 100644
--- a/xmloff/source/chart/contexts.hxx
+++ b/xmloff/source/chart/contexts.hxx
@@ -47,11 +47,6 @@ public:
virtual ~SchXMLDocContext() override;
- virtual SvXMLImportContextRef CreateChildContext(
- sal_uInt16 nPrefix,
- const OUString& rLocalName,
- const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override;
-
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};