diff options
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 8f02e4f9b0a9..8c8ab1b31c1e 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -96,10 +96,10 @@ struct NameWithToken struct SaxContext { - ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > mxContext; - sal_Int32 mnElementToken; - boost::optional< OUString > maNamespace; - boost::optional< OUString > maElementName; + Reference< XFastContextHandler > mxContext; + sal_Int32 mnElementToken; + OUString maNamespace; + OUString maElementName; SaxContext( sal_Int32 nElementToken, const OUString& aNamespace, const OUString& aElementName ): mnElementToken(nElementToken) @@ -488,7 +488,7 @@ void Entity::endElement() if( nElementToken != FastToken::DONTKNOW ) xContext->endFastElement( nElementToken ); else - xContext->endUnknownElement( aContext.maNamespace.get(), aContext.maElementName.get() ); + xContext->endUnknownElement( aContext.maNamespace, aContext.maElementName ); } catch (const Exception& e) { |