diff options
Diffstat (limited to 'sd/source/ui/docshell/sdclient.cxx')
-rw-r--r-- | sd/source/ui/docshell/sdclient.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sd/source/ui/docshell/sdclient.cxx b/sd/source/ui/docshell/sdclient.cxx index 02521c2575ad..c7f79c3ea813 100644 --- a/sd/source/ui/docshell/sdclient.cxx +++ b/sd/source/ui/docshell/sdclient.cxx @@ -143,6 +143,13 @@ void Client::ViewChanged() if (!pView) return; + // Do not recalculate the visareasize if the embedded object is opening in a new window. + if (!IsObjectInPlaceActive()) + { + pSdrOle2Obj->BroadcastObjectChange(); + return; + } + ::tools::Rectangle aLogicRect( pSdrOle2Obj->GetLogicRect() ); Size aLogicSize( aLogicRect.GetWidth(), aLogicRect.GetHeight() ); |