diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/streaming/streamhelper.cxx | 2 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 4 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/streaming/streamhelper.cxx b/unotools/source/streaming/streamhelper.cxx index 893384ff7525..1b639fb04825 100644 --- a/unotools/source/streaming/streamhelper.cxx +++ b/unotools/source/streaming/streamhelper.cxx @@ -71,7 +71,7 @@ sal_Int64 SAL_CALL OInputStreamHelper::getLength( ) ::osl::MutexGuard aGuard( m_aMutex ); SvLockBytesStat aStat; - m_xLockBytes->Stat( &aStat, SVSTATFLAG_DEFAULT ); + m_xLockBytes->Stat( &aStat ); return aStat.nSize; } diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index c2dcf90f3a8c..c851a408b736 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -1220,7 +1220,7 @@ ErrCode UcbLockBytes::Flush() const ErrCode UcbLockBytes::SetSize (sal_uInt64 const nNewSize) { SvLockBytesStat aStat; - Stat( &aStat, SvLockBytesStatFlag(0) ); + Stat( &aStat ); std::size_t nSize = aStat.nSize; if ( nSize > nNewSize ) @@ -1249,7 +1249,7 @@ ErrCode UcbLockBytes::SetSize (sal_uInt64 const nNewSize) return ERRCODE_NONE; } -ErrCode UcbLockBytes::Stat( SvLockBytesStat *pStat, SvLockBytesStatFlag) const +ErrCode UcbLockBytes::Stat( SvLockBytesStat *pStat ) const { if ( IsSynchronMode() ) { diff --git a/unotools/source/ucbhelper/ucblockbytes.hxx b/unotools/source/ucbhelper/ucblockbytes.hxx index 164c551d8dbf..5f0783f73338 100644 --- a/unotools/source/ucbhelper/ucblockbytes.hxx +++ b/unotools/source/ucbhelper/ucblockbytes.hxx @@ -106,7 +106,7 @@ public: virtual ErrCode WriteAt(sal_uInt64, const void*, std::size_t, std::size_t *pWritten) override; virtual ErrCode Flush() const override; virtual ErrCode SetSize(sal_uInt64) override; - virtual ErrCode Stat ( SvLockBytesStat *pStat, SvLockBytesStatFlag) const override; + virtual ErrCode Stat ( SvLockBytesStat *pStat ) const override; void SetError( ErrCode nError ) { m_nError = nError; } |