From 9bd80d67de3d76ba89a4eed7c53cb9534a49dbc9 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 21 Mar 2013 12:51:02 +0200 Subject: [PATCH] The private SvFileStream::GetFileHandle() was used only on UNX Drop the Windows implementation which wasn't x64-clean anyway. Change-Id: I1622196dc4c3b940cc8d629016985cf97480a059 --- tools/inc/tools/stream.hxx | 3 ++- 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;