You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2018/11/30 06:03:13 UTC
svn commit: r1847781 - /openoffice/trunk/main/tools/source/rc/resmgr.cxx
Author: damjan
Date: Fri Nov 30 06:03:13 2018
New Revision: 1847781
URL: http://svn.apache.org/viewvc?rev=1847781&view=rev
Log:
Since the code doesn't make sense, rather leave the sign as it was.
Patch by: me
Modified:
openoffice/trunk/main/tools/source/rc/resmgr.cxx
Modified: openoffice/trunk/main/tools/source/rc/resmgr.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/tools/source/rc/resmgr.cxx?rev=1847781&r1=1847780&r2=1847781&view=diff
==============================================================================
--- openoffice/trunk/main/tools/source/rc/resmgr.cxx (original)
+++ openoffice/trunk/main/tools/source/rc/resmgr.cxx Fri Nov 30 06:03:13 2018
@@ -1390,9 +1390,9 @@ sal_uInt32 ResMgr::GetRemainSize()
return pFallbackResMgr->GetRemainSize();
const ImpRCStack& rTop = aStack[nCurStack];
- return (sal_uInt32)((sal_uIntPtr)(sal_uInt8 *)rTop.pResource +
+ return (sal_uInt32)((sal_IntPtr)(sal_uInt8 *)rTop.pResource +
rTop.pResource->GetLocalOff() -
- (sal_uIntPtr)(sal_uInt8 *)rTop.pClassRes);
+ (sal_IntPtr)(sal_uInt8 *)rTop.pClassRes);
}
// -----------------------------------------------------------------------