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

coverity#1242529 silence Arguments in wrong order

Change-Id: I662c89e6e3e0917b51e8084bc50a9ea38d6c0838
üst 73fe3fb9
......@@ -4009,7 +4009,9 @@ SdrObject* SvxMSDffManager::ImportGroup( const DffRecordHeader& rHd, SvStream& r
sal_Int32 nHalfHeight = ( aClientRect.GetHeight() + 1 ) >> 1;
Point aTopLeft( aClientRect.Left() + nHalfWidth - nHalfHeight,
aClientRect.Top() + nHalfHeight - nHalfWidth );
Size aNewSize( aClientRect.GetHeight(), aClientRect.GetWidth() );
const long nRotatedWidth = aClientRect.GetHeight();
const long nRotatedHeight = aClientRect.GetWidth();
Size aNewSize(nRotatedWidth, nRotatedHeight);
Rectangle aNewRect( aTopLeft, aNewSize );
aClientRect = aNewRect;
}
......
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