From e4dd27555a827746d50e7bdf2bb9da0e534656d2 Mon Sep 17 00:00:00 2001 From: Marc-André Laverdière-Papineau Date: Mon, 27 Feb 2012 04:30:12 -0500 Subject: Removed dead code Deleted: SvFileStream::UnlockFile() --- tools/inc/tools/stream.hxx | 1 - tools/source/stream/strmunx.cxx | 11 ----------- 2 files changed, 12 deletions(-) (limited to 'tools') 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 @@ -656,17 +656,6 @@ sal_Bool SvFileStream::LockFile() return LockRange( 0UL, 0UL ); } -/************************************************************************* -|* -|* SvFileStream::UnlockFile() -|* -*************************************************************************/ - -sal_Bool SvFileStream::UnlockFile() -{ - return UnlockRange( 0UL, 0UL ); -} - /************************************************************************* |* |* SvFileStream::Open() -- cgit