diff options
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/streaming/streamhelper.cxx | 10 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 9 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.hxx | 1 |
3 files changed, 2 insertions, 18 deletions
diff --git a/unotools/source/streaming/streamhelper.cxx b/unotools/source/streaming/streamhelper.cxx index 25137c66081f..9efb0e992419 100644 --- a/unotools/source/streaming/streamhelper.cxx +++ b/unotools/source/streaming/streamhelper.cxx @@ -22,16 +22,6 @@ namespace utl { -void SAL_CALL OInputStreamHelper::acquire() throw () -{ - InputStreamHelper_Base::acquire(); -} - -void SAL_CALL OInputStreamHelper::release() throw () -{ - InputStreamHelper_Base::release(); -} - sal_Int32 SAL_CALL OInputStreamHelper::readBytes(css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) { 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 )); diff --git a/unotools/source/ucbhelper/ucblockbytes.hxx b/unotools/source/ucbhelper/ucblockbytes.hxx index ae3dbb6c7d21..875f5a03d6f3 100644 --- a/unotools/source/ucbhelper/ucblockbytes.hxx +++ b/unotools/source/ucbhelper/ucblockbytes.hxx @@ -102,7 +102,6 @@ public: static UcbLockBytesRef CreateLockBytes( const css::uno::Reference < css::io::XStream >& xContent ); // SvLockBytes - virtual void SetSynchronMode (bool bSynchron) override; virtual ErrCode ReadAt(sal_uInt64 nPos, void *pBuffer, sal_uLong nCount, sal_uLong *pRead) const override; virtual ErrCode WriteAt(sal_uInt64, const void*, sal_uLong, sal_uLong *pWritten) override; virtual ErrCode Flush() const override; |