summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 09:05:29 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 09:59:30 +0200
commit1c3d3ffa81d1a451b5a694cff022df3c5c94ba8e (patch)
tree08f3672567dba72161354624743c046cd2cb081b /sot
parentc8782b39116eee3ddc3ef0a38c6f6dde09b6ec00 (diff)
use uno::Reference::set method instead of assignment
Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24
Diffstat (limited to 'sot')
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx
index ecd04950c5a8..3c180c51ed9f 100644
--- a/sot/source/unoolestorage/xolesimplestorage.cxx
+++ b/sot/source/unoolestorage/xolesimplestorage.cxx
@@ -647,8 +647,8 @@ void SAL_CALL OLESimpleStorage::dispose()
DELETEZ( m_pStorage );
DELETEZ( m_pStream );
- m_xStream = uno::Reference< io::XStream >();
- m_xTempStream = uno::Reference< io::XStream >();
+ m_xStream.clear();
+ m_xTempStream.clear();
m_bDisposed = true;
}