Kaydet (Commit) 1f65b553 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Avoid undefined left shift of negative values

Change-Id: I428b2401f59930e115f4b0d205f6c1db779b16f9
üst 67c98f6f
...@@ -2623,7 +2623,7 @@ void ConvertEnhancedCustomShapeEquation( SdrObjCustomShape* pCustoShape, ...@@ -2623,7 +2623,7 @@ void ConvertEnhancedCustomShapeEquation( SdrObjCustomShape* pCustoShape,
std::vector< EnhancedCustomShapeEquation >::iterator aEnd ( rEquations.end() ); std::vector< EnhancedCustomShapeEquation >::iterator aEnd ( rEquations.end() );
while( aIter != aEnd ) while( aIter != aEnd )
{ {
sal_Int32 nMask = 0x20000000; sal_uInt32 nMask = 0x20000000;
for( i = 0; i < 3; i++ ) for( i = 0; i < 3; i++ )
{ {
if ( aIter->nOperation & nMask ) if ( aIter->nOperation & nMask )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment