diff options
Diffstat (limited to 'xmloff/source/text/XMLIndexIllustrationSourceContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexIllustrationSourceContext.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx b/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx index 84cd6553add1..d4a9c3b23a90 100644 --- a/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx +++ b/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx @@ -48,16 +48,13 @@ XMLIndexIllustrationSourceContext::~XMLIndexIllustrationSourceContext() { } -SvXMLImportContextRef XMLIndexIllustrationSourceContext::CreateChildContext( - sal_uInt16 nPrefix, - const OUString& rLocalName, - const Reference<XAttributeList> & xAttrList ) +css::uno::Reference< css::xml::sax::XFastContextHandler > XMLIndexIllustrationSourceContext::createFastChildContext( + sal_Int32 nElement, + const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) { - if ( ( XML_NAMESPACE_TEXT == nPrefix ) && - ( IsXMLToken( rLocalName, XML_ILLUSTRATION_INDEX_ENTRY_TEMPLATE ) ) ) + if ( nElement == XML_ELEMENT(TEXT, XML_ILLUSTRATION_INDEX_ENTRY_TEMPLATE) ) { return new XMLIndexTemplateContext(GetImport(), rIndexPropertySet, - nPrefix, rLocalName, aLevelNameTableMap, XML_TOKEN_INVALID, // no outline-level attr aLevelStylePropNameTableMap, @@ -65,8 +62,7 @@ SvXMLImportContextRef XMLIndexIllustrationSourceContext::CreateChildContext( } else { - return XMLIndexSourceBaseContext::CreateChildContext(nPrefix, - rLocalName, + return XMLIndexSourceBaseContext::createFastChildContext(nElement, xAttrList); } |