tdf#97919 Also resize ole objects proportionally by default
Change-Id: I1c3b13aa4cb0127451353f20179f39b6eebe12ec Reviewed-on: https://gerrit.libreoffice.org/23284 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
@@ -298,7 +298,8 @@ bool FuPoor::doConstructOrthogonal() const
|
||||
{
|
||||
sal_uInt16 aObjIdentifier = rMarkList.GetMark(0)->GetMarkedSdrObj()->GetObjIdentifier();
|
||||
return aObjIdentifier == OBJ_GRAF ||
|
||||
aObjIdentifier == OBJ_MEDIA;
|
||||
aObjIdentifier == OBJ_MEDIA ||
|
||||
aObjIdentifier == OBJ_OLE2;
|
||||
}
|
||||
}
|
||||
else if (aSfxRequest.GetSlot() == SID_DRAW_XPOLYGON || aSfxRequest.GetSlot() == SID_DRAW_XPOLYGON_NOFILL)
|
||||
|
@@ -1134,7 +1134,8 @@ bool FuPoor::doConstructOrthogonal() const
|
||||
SdrMark* pMark = rMarkList.GetMark(0);
|
||||
sal_uInt16 aObjIdentifier = pMark->GetMarkedSdrObj()->GetObjIdentifier();
|
||||
bIsMediaSelected = aObjIdentifier == OBJ_GRAF ||
|
||||
aObjIdentifier == OBJ_MEDIA;
|
||||
aObjIdentifier == OBJ_MEDIA ||
|
||||
aObjIdentifier == OBJ_OLE2;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -4080,7 +4080,8 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt)
|
||||
break;
|
||||
|
||||
bool bIsMediaSelected = rSh.GetSelectionType() & nsSelectionType::SEL_GRF ||
|
||||
rSh.GetSelectionType() & nsSelectionType::SEL_MEDIA;
|
||||
rSh.GetSelectionType() & nsSelectionType::SEL_MEDIA ||
|
||||
rSh.GetSelectionType() & nsSelectionType::SEL_OLE;
|
||||
bool bisResize = g_eSdrMoveHdl != HDL_MOVE;
|
||||
|
||||
if (pSdrView)
|
||||
|
Reference in New Issue
Block a user