summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Laverdière-Papineau <marc-andre@atc.tcs.com>2012-02-27 04:30:12 -0500
committerMarc-André Laverdière-Papineau <marc-andre@atc.tcs.com>2012-02-27 19:03:44 -0500
commite4dd27555a827746d50e7bdf2bb9da0e534656d2 (patch)
tree6f39c3b496c23cedaaf3748c13620031f4670059 /tools
parentSome more work for --disable-database-connectivity (diff)
downloadcore-e4dd27555a827746d50e7bdf2bb9da0e534656d2.tar.gz
core-e4dd27555a827746d50e7bdf2bb9da0e534656d2.zip
Removed dead code
Deleted: SvFileStream::UnlockFile()
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/stream.hxx1
-rw-r--r--tools/source/stream/strmunx.cxx11
2 files changed, 0 insertions, 12 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx
index c598efd42c70..0f2456b4acb9 100644
--- a/tools/inc/tools/stream.hxx
+++ b/tools/inc/tools/stream.hxx
@@ -641,7 +641,6 @@ private:
sal_Bool LockRange( sal_Size nByteOffset, sal_Size nBytes );
sal_Bool UnlockRange( sal_Size nByteOffset, sal_Size nBytes );
sal_Bool LockFile();
- sal_Bool UnlockFile();
protected:
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx
index 425a68f66630..9eb6b3864e0a 100644
--- a/tools/source/stream/strmunx.cxx
+++ b/tools/source/stream/strmunx.cxx
@@ -658,17 +658,6 @@ sal_Bool SvFileStream::LockFile()
/*************************************************************************
|*
-|* SvFileStream::UnlockFile()
-|*
-*************************************************************************/
-
-sal_Bool SvFileStream::UnlockFile()
-{
- return UnlockRange( 0UL, 0UL );
-}
-
-/*************************************************************************
-|*
|* SvFileStream::Open()
|*
*************************************************************************/