summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-04 09:49:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-05 07:52:16 +0100
commit36b21429c2c423271786e29c6a480b4b689a8ab8 (patch)
tree5a10d1d8c5e9485fbe6b91d6c001537d8f36ae03 /unotools/source
parentf22f5a8a1c25d0a68d64d82bd824f5e153cf9959 (diff)
remove unused SvLockBytesStatFlag enum
Change-Id: I90b82f1bbf4b51fc76cde10ec55448053345018c Reviewed-on: https://gerrit.libreoffice.org/64561 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/source')
-rw-r--r--unotools/source/streaming/streamhelper.cxx2
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx4
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.hxx2
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; }