summaryrefslogtreecommitdiff
authorJulien Nabet <serval2412@yahoo.fr>2012-08-15 14:34:32 (GMT)
committer Julien Nabet <serval2412@yahoo.fr>2012-08-15 14:39:29 (GMT)
commit1be58f5c257b5dd467110d3e5faf3f8f48db4995 (patch) (side-by-side diff)
tree3a3f77144f3d7bc4017fd52f0de3a67a2ac68ade
parent57ef2f63932b83da2fd3738712193b196101558d (diff)
downloadcore-1be58f5c257b5dd467110d3e5faf3f8f48db4995.zip
core-1be58f5c257b5dd467110d3e5faf3f8f48db4995.tar.gz
Related fdo#44989: Bin (Un)LockRegion functions
Change-Id: I65f6e62ee045f5d9bdbd9cef02cfc7470aaca635
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--tools/inc/tools/stream.hxx3
-rw-r--r--tools/source/stream/stream.cxx15
2 files changed, 0 insertions, 18 deletions
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)