summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 13:26:24 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 13:32:17 +0200
commit9e8ff13eb2405f7e3dcb4f90cb38e9e4b1da2bd5 (patch)
treeea4cd1922080d73b82a5b4bd4796d6190430f3fa /xmlsecurity/source/framework
parent281296330735158d6265e0b146b5d5301f6e610e (diff)
use uno::Reference::set method instead of assignment
Change-Id: I60e52ef2abc3107ba77e81811dfe1bffbfd77218
Diffstat (limited to 'xmlsecurity/source/framework')
-rw-r--r--xmlsecurity/source/framework/saxeventkeeperimpl.cxx6
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;