diff options
-rw-r--r-- | sc/source/ui/drawfunc/fupoor.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/source/ui/drawfunc/fupoor.cxx b/sc/source/ui/drawfunc/fupoor.cxx index 9a331363c95d..dfad06aa87c7 100644 --- a/sc/source/ui/drawfunc/fupoor.cxx +++ b/sc/source/ui/drawfunc/fupoor.cxx @@ -327,6 +327,16 @@ void FuPoor::ImpForceQuadratic(Rectangle& rRect) // #i33136# bool FuPoor::doConstructOrthogonal() const { + // Check whether an image is selected -> they should scale proportionally + if (pView->AreObjectsMarked()) + { + const SdrMarkList& rMarkList = pView->GetMarkedObjectList(); + if (rMarkList.GetMarkCount() == 1) + { + if (rMarkList.GetMark(0)->GetMarkedSdrObj()->GetObjIdentifier() == OBJ_GRAF) + return true; + } + } return false; } |