[Libreoffice-commits] .: tools/inc tools/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Wed Aug 15 07:40:22 PDT 2012
tools/inc/tools/stream.hxx | 3 ---
tools/source/stream/stream.cxx | 15 ---------------
2 files changed, 18 deletions(-)
New commits:
commit 1be58f5c257b5dd467110d3e5faf3f8f48db4995
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Wed Aug 15 16:34:32 2012 +0200
Related fdo#44989: Bin (Un)LockRegion functions
Change-Id: I65f6e62ee045f5d9bdbd9cef02cfc7470aaca635
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx
index 3ac9e1c..abd6520 100644
--- a/tools/inc/tools/stream.hxx
+++ b/tools/inc/tools/stream.hxx
@@ -143,9 +143,6 @@ public:
virtual ErrCode SetSize(sal_Size nSize);
- virtual ErrCode LockRegion(sal_Size, sal_Size, LockType);
- virtual ErrCode UnlockRegion(sal_Size, sal_Size, LockType);
-
virtual ErrCode Stat(SvLockBytesStat * pStat, SvLockBytesStatFlag) const;
};
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 0f3e9b5..32fa904 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -257,21 +257,6 @@ ErrCode SvLockBytes::SetSize(sal_Size nSize)
}
//============================================================================
-ErrCode SvLockBytes::LockRegion(sal_Size, sal_Size, LockType)
-{
- OSL_FAIL("SvLockBytes::LockRegion(): Not implemented");
- return ERRCODE_NONE;
-}
-
-//============================================================================
-
-ErrCode SvLockBytes::UnlockRegion(sal_Size, sal_Size, LockType)
-{
- OSL_FAIL("SvLockBytes::UnlockRegion(): Not implemented");
- return ERRCODE_NONE;
-}
-
-//============================================================================
ErrCode SvLockBytes::Stat(SvLockBytesStat * pStat, SvLockBytesStatFlag) const
{
if (!m_pStream)
More information about the Libreoffice-commits
mailing list