summaryrefslogtreecommitdiff
path: root/tools/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-29 21:08:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-01 10:43:56 +0000
commit1431c95d19cde8b913d772c9a99c3ebd886e983a (patch)
tree8c36445d0f6faf40cb57cc79e1430dcefe9b1520 /tools/inc
parent05a8216d03b5db559e01dd1808f2805df31c970a (diff)
now restore and use reduced UnlockFile and UnlockRange impls
because its super ugly to have unbalanced lock/unlocks and with the removal of STAR_ENABLE_FILE_LOCKING we can call those methods and now get unchanged behaviour
Diffstat (limited to 'tools/inc')
-rw-r--r--tools/inc/tools/stream.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx
index 6482fdd4cc7b..c2749ffb866a 100644
--- a/tools/inc/tools/stream.hxx
+++ b/tools/inc/tools/stream.hxx
@@ -639,11 +639,9 @@ private:
SvFileStream & operator= (const SvFileStream&);
sal_Bool LockRange( sal_Size nByteOffset, sal_Size nBytes );
- sal_Bool LockFile();
-#ifdef WNT
sal_Bool UnlockRange( sal_Size nByteOffset, sal_Size nBytes );
+ sal_Bool LockFile();
sal_Bool UnlockFile();
-#endif
protected:
virtual sal_Size GetData( void* pData, sal_Size nSize );