Author: damjan
Date: Tue Feb 5 05:54:10 2019
New Revision: 1852966
URL: http://svn.apache.org/viewvc?rev=1852966&view=rev
Log:
Stream file handles have to be 64 bits to support Win64.
Patch by: me
Modified:
openoffice/trunk/main/tools/inc/tools/stream.hxx
openoffice/trunk/main/tools/source/stream/strmunx.cxx
Modified: openoffice/trunk/main/tools/inc/tools/stream.hxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/tools/inc/tools/stream.hxx?rev=1852966&r1=1852965&r2=1852966&view=diff
==============================================================================
--- openoffice/trunk/main/tools/inc/tools/stream.hxx (original)
+++ openoffice/trunk/main/tools/inc/tools/stream.hxx Tue Feb 5 05:54:10 2019
@@ -733,7 +733,7 @@ private:
String aFilename;
sal_uInt16 nLockCounter;
sal_Bool bIsOpen;
- sal_uInt32 GetFileHandle() const;
+ sal_uIntPtr GetFileHandle() const;
// Forbidden and not implemented.
SvFileStream (const SvFileStream&);
Modified: openoffice/trunk/main/tools/source/stream/strmunx.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/tools/source/stream/strmunx.cxx?rev=1852966&r1=1852965&r2=1852966&view=diff
==============================================================================
--- openoffice/trunk/main/tools/source/stream/strmunx.cxx (original)
+++ openoffice/trunk/main/tools/source/stream/strmunx.cxx Tue Feb 5 05:54:10
2019
@@ -322,7 +322,7 @@ SvFileStream::~SvFileStream()
|*
*************************************************************************/
-sal_uInt32 SvFileStream::GetFileHandle() const
+sal_uIntPtr SvFileStream::GetFileHandle() const
{
return (sal_uInt32)pInstanceData->nHandle;
}