diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-04 14:38:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-04 14:42:23 +0200 |
commit | 5ced1a6e42ff7e2425a9e1c374eb25295091b26d (patch) | |
tree | b7649b7942cd494bbbbeaa6cdbee93ed492d8e7b /sax/source | |
parent | 8f93d4a159e599fe7191e7f7b8e52e2775fefdf5 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: I1c7240fe2e2b5eb825f028ca7502e5ba8793046b
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index 42c610dda54e..51f72f7b5c64 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -371,7 +371,7 @@ SaxExpatParser::SaxExpatParser( ) m_pImpl = new SaxExpatParser_Impl; LocatorImpl *pLoc = new LocatorImpl( m_pImpl ); - m_pImpl->rDocumentLocator = css::uno::Reference< XLocator > ( pLoc ); + m_pImpl->rDocumentLocator.set( pLoc ); // Performance-improvement; handing out the same object with every call of // the startElement callback is allowed (see sax-specification): |