incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1351378 - /incubator/ooo/trunk/main/vcl/source/gdi/sallayout.cxx
Date Mon, 18 Jun 2012 15:04:55 GMT
Author: hdu
Date: Mon Jun 18 15:04:55 2012
New Revision: 1351378

URL: http://svn.apache.org/viewvc?rev=1351378&view=rev
Log:
#c706125# fix overallocation on 64bit platforms

Modified:
    incubator/ooo/trunk/main/vcl/source/gdi/sallayout.cxx

Modified: incubator/ooo/trunk/main/vcl/source/gdi/sallayout.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/vcl/source/gdi/sallayout.cxx?rev=1351378&r1=1351377&r2=1351378&view=diff
==============================================================================
--- incubator/ooo/trunk/main/vcl/source/gdi/sallayout.cxx (original)
+++ incubator/ooo/trunk/main/vcl/source/gdi/sallayout.cxx Mon Jun 18 15:04:55 2012
@@ -1166,7 +1166,7 @@ void GenericSalLayout::ApplyDXArray( Imp
 	}
 
     // calculate adjusted cluster widths
-    sal_Int32* pNewGlyphWidths = (sal_Int32*)alloca( mnGlyphCount * sizeof(long) );
+    sal_Int32* pNewGlyphWidths = (sal_Int32*)alloca( mnGlyphCount * sizeof(sal_Int32) );
     for( i = 0; i < mnGlyphCount; ++i )
         pNewGlyphWidths[ i ] = 0;
 



Mime
View raw message