diff options
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/text/XMLIndexBodyContext.cxx | 9 | ||||
-rw-r--r-- | xmloff/source/text/XMLIndexBodyContext.hxx | 7 |
2 files changed, 7 insertions, 9 deletions
diff --git a/xmloff/source/text/XMLIndexBodyContext.cxx b/xmloff/source/text/XMLIndexBodyContext.cxx index b83e7fd36531..05392d57a4b4 100644 --- a/xmloff/source/text/XMLIndexBodyContext.cxx +++ b/xmloff/source/text/XMLIndexBodyContext.cxx @@ -37,14 +37,13 @@ XMLIndexBodyContext::~XMLIndexBodyContext() { } -SvXMLImportContextRef XMLIndexBodyContext::CreateChildContext( - sal_uInt16 nPrefix, - const OUString& rLocalName, - const Reference<XAttributeList> & xAttrList) +css::uno::Reference< css::xml::sax::XFastContextHandler > XMLIndexBodyContext::createFastChildContext( + sal_Int32 nElement, + const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) { // return text content (if possible) SvXMLImportContext* pContext = GetImport().GetTextImport()->CreateTextChildContext( - GetImport(), nPrefix, rLocalName, xAttrList, XMLTextType::Section ); + GetImport(), nElement, xAttrList, XMLTextType::Section ); if (pContext) bHasContent = true; diff --git a/xmloff/source/text/XMLIndexBodyContext.hxx b/xmloff/source/text/XMLIndexBodyContext.hxx index 936542e243ea..769c1f04b51b 100644 --- a/xmloff/source/text/XMLIndexBodyContext.hxx +++ b/xmloff/source/text/XMLIndexBodyContext.hxx @@ -51,10 +51,9 @@ public: protected: - 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 >& AttrList ) override; }; inline bool XMLIndexBodyContext::HasContent() const |