Kaydet (Commit) a7232e3f authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242520 silence Arguments in wrong order

Change-Id: I88b96d42f5ee96641dc21e3e55415f6dc32b3951
üst 51e81c91
......@@ -1025,7 +1025,9 @@ void PPTWriter::ImplFlipBoundingBox( EscherPropertyContainer& rPropOpt )
// vertical. Therefore, we need to put down it BEFORE THE ROTATION.
::com::sun::star::awt::Point
aTopLeft( (sal_Int32)( maRect.Left() + fWidthHalf - fHeightHalf ), (sal_Int32)( maRect.Top() + fHeightHalf - fWidthHalf ) );
Size aNewSize( maRect.GetHeight(), maRect.GetWidth() );
const long nRotatedWidth(maRect.GetHeight());
const long nRotatedHeight(maRect.GetWidth());
const Size aNewSize(nRotatedWidth, nRotatedHeight);
maRect = Rectangle( Point( aTopLeft.X, aTopLeft.Y ), aNewSize );
}
}
......
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