diff options
Diffstat (limited to 'tools/source/stream/strmwnt.cxx')
-rw-r--r-- | tools/source/stream/strmwnt.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx index 954ef05716f5..2967df018977 100644 --- a/tools/source/stream/strmwnt.cxx +++ b/tools/source/stream/strmwnt.cxx @@ -235,9 +235,8 @@ bool SvFileStream::LockFile() return bRetVal; } -bool SvFileStream::UnlockFile() +void SvFileStream::UnlockFile() { - bool bRetVal = false; if( nLockCounter > 0) { if( nLockCounter == 1) @@ -245,16 +244,13 @@ bool SvFileStream::UnlockFile() if( UnlockRange( 0L, LONG_MAX ) ) { nLockCounter = 0; - bRetVal = true; } } else { nLockCounter--; - bRetVal = true; } } - return bRetVal; } /* |