summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-06-04 17:16:58 +0200
committerNoel Grandin <noel@peralex.com>2013-06-05 08:13:23 +0200
commit95c0d568fdcd0da939c891d861bb470b28079170 (patch)
treeca4e4108178ec1176fd1a976df6f31a08d590210 /unotools
parenta1afcae81ca3c4b6bb240263b3259090d48c7715 (diff)
use uno::Reference#clear() method...
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index a5ff6fcad3f0..d60f249584d6 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -1297,7 +1297,7 @@ sal_Bool UcbLockBytes::setStream_Impl( const Reference<XStream>& aStream )
}
else
{
- m_xOutputStream = Reference < XOutputStream >();
+ m_xOutputStream.clear();
setInputStream_Impl( Reference < XInputStream >() );
}