diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-12 11:18:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-12 13:19:10 +0100 |
commit | 2bf22c8d2642e30fdedab69b7437ae83deaec014 (patch) | |
tree | 9d7704f30cc30d4a4ef09a773b1f64e046cdc35f /include | |
parent | af35dfb2e31c24dd1a43d9ae3e0f393b75108228 (diff) |
SvFileStream::Lock/UnlockRange are only called from within SvFileStream itself
...and only for whole-file locking, so simplify the implementations in
strmunx.cx and strmwnt.cxx accordingly
Change-Id: I973e0ea41f246ad614232b107c8bf152073867be
Reviewed-on: https://gerrit.libreoffice.org/85039
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/stream.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index 33b2e986b573..0f17c37c4958 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -582,8 +582,6 @@ private: SvFileStream (const SvFileStream&) = delete; SvFileStream & operator= (const SvFileStream&) = delete; - bool LockRange( sal_uInt64 nByteOffset, std::size_t nBytes ); - bool UnlockRange( sal_uInt64 nByteOffset, std::size_t nBytes ); bool LockFile(); void UnlockFile(); |