diff options
Diffstat (limited to 'xmlsecurity/source/framework')
-rw-r--r-- | xmlsecurity/source/framework/saxeventkeeperimpl.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx index 666063aea839..69a5ecd9188b 100644 --- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx +++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx @@ -1341,10 +1341,8 @@ void SAL_CALL SAXEventKeeperImpl::initialize( const cssu::Sequence< cssu::Any >& OSL_ASSERT(aArguments.getLength() == 1); aArguments[0] >>= m_xXMLDocument; - m_xDocumentHandler = cssu::Reference< cssxs::XDocumentHandler >( - m_xXMLDocument, cssu::UNO_QUERY ); - m_xCompressedDocumentHandler = cssu::Reference< cssxcsax::XCompressedDocumentHandler >( - m_xXMLDocument, cssu::UNO_QUERY ); + m_xDocumentHandler.set( m_xXMLDocument, cssu::UNO_QUERY ); + m_xCompressedDocumentHandler.set( m_xXMLDocument, cssu::UNO_QUERY ); m_pRootBufferNode = new BufferNode(m_xXMLDocument->getCurrentElement()); m_pCurrentBufferNode = m_pRootBufferNode; |