summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucblockbytes.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 12:07:16 +0200
committerNoel Grandin <noel@peralex.com>2016-01-13 12:16:23 +0200
commit5ec991b6fecba3f8bad120dd89bb4482d6498480 (patch)
treeec506d35d7ec9668ab7ebe49fcb735395a24454b /unotools/source/ucbhelper/ucblockbytes.cxx
parent8a43ba529a9cd5ba7658334f9546f978175921ab (diff)
loplugin:unusedmethods unused return value unotools/
Change-Id: I5fbb0fe5910d4f430fe4885eae5689592c366500
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index e9f6259807aa..784c1ed3b7d9 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -1093,7 +1093,7 @@ Reference < XInputStream > UcbLockBytes::getInputStream()
return m_xInputStream;
}
-bool UcbLockBytes::setStream_Impl( const Reference<XStream>& aStream )
+void UcbLockBytes::setStream_Impl( const Reference<XStream>& aStream )
{
osl::MutexGuard aGuard( m_aMutex );
if ( aStream.is() )
@@ -1107,8 +1107,6 @@ bool UcbLockBytes::setStream_Impl( const Reference<XStream>& aStream )
m_xOutputStream.clear();
setInputStream_Impl( Reference < XInputStream >() );
}
-
- return m_xInputStream.is();
}
bool UcbLockBytes::setInputStream_Impl( const Reference<XInputStream> &rxInputStream, bool bSetXSeekable )