diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx index a9808b717d43..2e73107d311a 100644 --- a/filter/source/graphicfilter/icgm/cgm.cxx +++ b/filter/source/graphicfilter/icgm/cgm.cxx @@ -112,7 +112,7 @@ sal_uInt8 CGM::ImplGetByte( sal_uInt32 nSource, sal_uInt32 nPrecision ) return (sal_uInt8)( nSource >> ( ( nPrecision - 1 ) << 3 ) ); }; -long CGM::ImplGetI( sal_uInt32 nPrecision ) +sal_Int32 CGM::ImplGetI( sal_uInt32 nPrecision ) { sal_uInt8* pSource = mpSource + mnParaSize; mnParaSize += nPrecision; diff --git a/filter/source/graphicfilter/icgm/cgm.hxx b/filter/source/graphicfilter/icgm/cgm.hxx index 25ab80a64970..e1e7f63f5e5f 100644 --- a/filter/source/graphicfilter/icgm/cgm.hxx +++ b/filter/source/graphicfilter/icgm/cgm.hxx @@ -94,7 +94,7 @@ class CGM sal_uInt32 ImplGetUI16( sal_uInt32 nAlign = 0 ); sal_uInt8 ImplGetByte( sal_uInt32 nSource, sal_uInt32 nPrecision ); - long ImplGetI( sal_uInt32 nPrecision ); + sal_Int32 ImplGetI( sal_uInt32 nPrecision ); sal_uInt32 ImplGetUI( sal_uInt32 nPrecision ); void ImplGetSwitch4( sal_uInt8* pSource, sal_uInt8* pDest ); void ImplGetSwitch8( sal_uInt8* pSource, sal_uInt8* pDest );