diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/fasttokenhandler.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/inc/fasttokenhandler.hxx b/xmloff/inc/fasttokenhandler.hxx index b0d0fb9f92ce..8e5a1cbb1c6e 100644 --- a/xmloff/inc/fasttokenhandler.hxx +++ b/xmloff/inc/fasttokenhandler.hxx @@ -69,8 +69,7 @@ private: struct StaticTokenMap : public rtl::Static< TokenMap, StaticTokenMap > {}; -class FastTokenHandler final : public cppu::WeakImplHelper< - css::xml::sax::XFastTokenHandler >, +class FastTokenHandler final : public sax_fastparser::FastTokenHandlerBase { public: diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 9dae9839b519..8cee683d86e5 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -2215,8 +2215,7 @@ OUString SvXMLImportFastNamespaceHandler::getNamespaceURI( const OUString&/* rNa SvXMLLegacyToFastDocHandler::SvXMLLegacyToFastDocHandler( const rtl::Reference< SvXMLImport > & rImport ) : mrImport( rImport ), - mxFastAttributes( new sax_fastparser::FastAttributeList( SvXMLImport::xTokenHandler.get(), - dynamic_cast< sax_fastparser::FastTokenHandlerBase *>( SvXMLImport::xTokenHandler.get() ) ) ) + mxFastAttributes( new sax_fastparser::FastAttributeList( SvXMLImport::xTokenHandler.get() ) ) { } |