summaryrefslogtreecommitdiffstats
path: root/io/source/stm
diff options
context:
space:
mode:
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();