Kaydet (Commit) e16304c4 authored tarafından Szymon Kłos's avatar Szymon Kłos

Embedded obj: resize to avoid rendering issue

Force resize, before sidebar wasn't rendered correctly.

Change-Id: I0aeec50751a165bf4ab1aeefeda079ff97feb990
Reviewed-on: https://gerrit.libreoffice.org/40065Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSzymon Kłos <szymon.klos@collabora.com>
üst 53be53b3
......@@ -868,7 +868,6 @@ uno::Reference< frame::XFrame > const & DocumentHolder::GetDocFrame()
// TODO/LATER: get it for the real aspect
awt::Size aSize;
GetExtent( embed::Aspects::MSOLE_CONTENT, &aSize );
LoadDocToFrame(false);
if ( xOwnLM.is() )
......@@ -877,6 +876,9 @@ uno::Reference< frame::XFrame > const & DocumentHolder::GetDocFrame()
xOwnLM->lock();
}
GetExtent(embed::Aspects::MSOLE_CONTENT, &aSize);
SetExtent(embed::Aspects::MSOLE_CONTENT, aSize);
if ( xOwnLM.is() )
xOwnLM->unlock();
}
......
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