summaryrefslogtreecommitdiffstats
path: root/io/source/stm
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 14:16:19 +0200
committerNoel Grandin <noel@peralex.com>2015-11-04 14:20:51 +0200
commitfcb8df3bcf551fc3437e6c7c8ddb24dc5a09db02 (patch)
treeb00511c71c3ea467e1f029cfdb80bb6ce72960b5 /io/source/stm
parentyyyyy (diff)
downloadcore-fcb8df3bcf551fc3437e6c7c8ddb24dc5a09db02.tar.gz
core-fcb8df3bcf551fc3437e6c7c8ddb24dc5a09db02.zip
use uno::Reference::set method instead of assignment
Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
Diffstat (limited to 'io/source/stm')
-rw-r--r--io/source/stm/odata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index ee37bcbd655c..c626661cb6ce 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -1310,7 +1310,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() throw (css::io::IO
{
// load the object
Reference< XInterface > x = m_rSMgr->createInstanceWithContext( aName, m_rCxt );
- xLoadedObj = Reference< XPersistObject >( x, UNO_QUERY );
+ xLoadedObj.set( x, UNO_QUERY );
if( xLoadedObj.is() )
{
sal_uInt32 nSize = m_aPersistVector.size();