[Libreoffice-commits] .: filter/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Thu Sep 15 12:54:45 PDT 2011
filter/source/graphicfilter/icgm/cgm.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8916f842e04ab52ee6efe0bdeba805f781a72851
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Sep 15 21:54:32 2011 +0200
"long" actually meant 32 bit here.
diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx
index dbc2941..5a69488 100644
--- a/filter/source/graphicfilter/icgm/cgm.cxx
+++ b/filter/source/graphicfilter/icgm/cgm.cxx
@@ -260,7 +260,7 @@ double CGM::ImplGetFloat( RealPrecision eRealPrecision, sal_uInt32 nRealSize )
}
else
{
- long* pLong = (long*)pPtr;
+ sal_Int32* pLong = (sal_Int32*)pPtr;
nRetValue = (double)abs( pLong[ nSwitch ] );
nRetValue *= 65536;
nVal = (sal_uInt32)( pLong[ nSwitch ^ 1 ] );
More information about the Libreoffice-commits
mailing list