Kaydet (Commit) 86b9f03c authored tarafından Markus Mohrhard's avatar Markus Mohrhard

fix infinite loop during export

Change-Id: I75bfafbc7343aaddbbc5c7433e28b5d4154177dc
üst fab61094
......@@ -101,6 +101,8 @@ void ImplEESdrWriter::ImplFlipBoundingBox( ImplEESdrObject& rObj, EscherProperty
// for position calculations, we normalize the angle between 0 and 90 degrees
if ( nAngle < 0 )
nAngle = ( 36000 + nAngle ) % 36000;
if ( nAngle % 18000 == 0 )
nAngle = 0;
while ( nAngle > 9000 )
nAngle = ( 18000 - ( nAngle % 18000 ) );
......
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