diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2013-03-21 12:51:02 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2013-03-21 13:07:43 +0200 |
commit | 9bd80d67de3d76ba89a4eed7c53cb9534a49dbc9 (patch) | |
tree | 645536e3f52bfca6dc4930f4581e72649e8e09cd /tools | |
parent | 0e07da84299bb48dfc232c2888d176fa558ff58b (diff) |
The private SvFileStream::GetFileHandle() was used only on UNX
Drop the Windows implementation which wasn't x64-clean anyway.
Change-Id: I1622196dc4c3b940cc8d629016985cf97480a059
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/stream.hxx | 3 | ||||
-rw-r--r-- | tools/source/stream/strmwnt.cxx | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx index f157f905fc6e..25e2a732bf9d 100644 --- a/tools/inc/tools/stream.hxx +++ b/tools/inc/tools/stream.hxx @@ -659,8 +659,9 @@ private: String aFilename; sal_uInt16 nLockCounter; sal_Bool bIsOpen; +#ifdef UNX sal_uInt32 GetFileHandle() const; - +#endif // Forbidden and not implemented. SvFileStream (const SvFileStream&); SvFileStream & operator= (const SvFileStream&); diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx index 1d7dfb214303..800dae18dda4 100644 --- a/tools/source/stream/strmwnt.cxx +++ b/tools/source/stream/strmwnt.cxx @@ -133,11 +133,6 @@ SvFileStream::~SvFileStream() delete pInstanceData; } -sal_uIntPtr SvFileStream::GetFileHandle() const -{ - return (sal_uIntPtr)pInstanceData->hFile; -} - sal_uInt16 SvFileStream::IsA() const { return ID_FILESTREAM; |