diff --git a/sc/source/ui/drawfunc/fupoor.cxx b/sc/source/ui/drawfunc/fupoor.cxx index 29116e286de9..cdb0ac3a8dd1 100644 --- a/sc/source/ui/drawfunc/fupoor.cxx +++ b/sc/source/ui/drawfunc/fupoor.cxx @@ -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) diff --git a/sd/source/ui/func/fupoor.cxx b/sd/source/ui/func/fupoor.cxx index 9b05d71a41c3..c1f498967472 100644 --- a/sd/source/ui/func/fupoor.cxx +++ b/sd/source/ui/func/fupoor.cxx @@ -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; } } diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 780a85394e6c..d7be3c002d8a 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -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)