diff options
Diffstat (limited to 'editors/openoffice.org-2.0-devel/files/patch-i66726')
-rw-r--r-- | editors/openoffice.org-2.0-devel/files/patch-i66726 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/openoffice.org-2.0-devel/files/patch-i66726 b/editors/openoffice.org-2.0-devel/files/patch-i66726 new file mode 100644 index 000000000000..4294743373fa --- /dev/null +++ b/editors/openoffice.org-2.0-devel/files/patch-i66726 @@ -0,0 +1,21 @@ +Index: tools/source/inet/inetmsg.cxx +=================================================================== +RCS file: /cvs/util/tools/source/inet/inetmsg.cxx,v +retrieving revision 1.8 +retrieving revision 1.8.6.1 +diff -u -r1.8 -r1.8.6.1 +--- tools/source/inet/inetmsg.cxx 19 Jun 2006 13:46:21 -0000 1.8 ++++ tools/source/inet/inetmsg.cxx 27 Jun 2006 11:30:46 -0000 1.8.6.1 +@@ -1390,9 +1390,11 @@ + // Generate a unique boundary from current time. + sal_Char sTail[16 + 1]; + Time aCurTime; ++ sal_uInt64 nThis = reinterpret_cast< sal_uIntPtr >( this ); // we can be on a 64bit architecture ++ nThis = ( ( nThis >> 32 ) ^ nThis ) & SAL_MAX_UINT32; + sprintf (sTail, "%08X%08X", + static_cast< unsigned int >(aCurTime.GetTime()), +- reinterpret_cast< unsigned int >(this)); ++ static_cast< unsigned int >(nThis)); + m_aBoundary = "------------_4D48"; + m_aBoundary += sTail; + |