diff options
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 1e88ab7287b4..bc9d74820f58 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -1049,7 +1049,7 @@ UcbLockBytes::UcbLockBytes() , m_bDontClose( false ) , m_bStreamValid (false) { - SetSynchronMode( true ); + SetSynchronMode(); } UcbLockBytes::~UcbLockBytes() @@ -1168,11 +1168,6 @@ void UcbLockBytes::terminate_Impl() } } -void UcbLockBytes::SetSynchronMode (bool bSynchron) -{ - SvLockBytes::SetSynchronMode (bSynchron); -} - ErrCode UcbLockBytes::ReadAt(sal_uInt64 const nPos, void *pBuffer, sal_uLong nCount, sal_uLong *pRead) const { @@ -1398,7 +1393,7 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xCo return nullptr; UcbLockBytesRef xLockBytes = new UcbLockBytes; - xLockBytes->SetSynchronMode( true ); + xLockBytes->SetSynchronMode(); Reference< XActiveDataControl > xSink; if ( eOpenMode & StreamMode::WRITE ) xSink = static_cast<XActiveDataControl*>(new UcbStreamer_Impl( xLockBytes )); |