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

coverity#1242521 silence Arguments in wrong order

Change-Id: I30b61fa17a941b785a4f148e2ce6c912dbd3c645
üst 9b68625a
...@@ -834,7 +834,9 @@ void SwGrfShell::ExecuteRotation(SfxRequest &rReq) ...@@ -834,7 +834,9 @@ void SwGrfShell::ExecuteRotation(SfxRequest &rReq)
rShell.ReRead(OUString(), OUString(), (const Graphic*) &aGraphic); rShell.ReRead(OUString(), OUString(), (const Graphic*) &aGraphic);
SwFlyFrmAttrMgr aManager(false, &rShell, rShell.IsFrmSelected() ? FRMMGR_TYPE_NONE : FRMMGR_TYPE_GRF); SwFlyFrmAttrMgr aManager(false, &rShell, rShell.IsFrmSelected() ? FRMMGR_TYPE_NONE : FRMMGR_TYPE_GRF);
Size aSize(aManager.GetSize().Height(), aManager.GetSize().Width()); const long nRotatedWidth = aManager.GetSize().Height();
const long nRotatedHeight = aManager.GetSize().Width();
Size aSize(nRotatedWidth, nRotatedHeight);
aManager.SetSize(aSize); aManager.SetSize(aSize);
aManager.UpdateFlyFrm(); aManager.UpdateFlyFrm();
......
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