diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-28 10:15:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-28 10:56:59 +0000 |
commit | 9ddf39c39152bf4f42bc0bcc2ad03f7fc0c02029 (patch) | |
tree | 9e606ee5a6375cca51ed135293aa188865c9955b /tools | |
parent | f7aaf5c42ebe980a86abc799bffc7d504c9a1be4 (diff) |
fix windows build
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/stream.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx index a8bde29558d4..82d322aa363d 100644 --- a/tools/inc/tools/stream.hxx +++ b/tools/inc/tools/stream.hxx @@ -641,7 +641,9 @@ private: sal_Bool LockRange( sal_Size nByteOffset, sal_Size nBytes ); sal_Bool UnlockRange( sal_Size nByteOffset, sal_Size nBytes ); sal_Bool LockFile(); - +#ifdef WNT + sal_Bool UnlockFile(); +#endif protected: virtual sal_Size GetData( void* pData, sal_Size nSize ); |