summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/inc/tools/stream.hxx3
-rw-r--r--tools/source/stream/strmwnt.cxx5
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;