embeddedobj/source/general/docholder.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 54a605fdef2ca12ac47c35e527950a980f7945fe Author: Szymon KÅos <[email protected]> Date: Fri Jul 14 16:11:40 2017 +0200 Embedded obj: don't change new window size Change-Id: Idc5e1e26fa1a98c6f96a1f0f15b6e5c3c9398402 Reviewed-on: https://gerrit.libreoffice.org/39957 Tested-by: Jenkins <[email protected]> Reviewed-by: Szymon KÅos <[email protected]> (cherry picked from commit f9d5877f41b54882a7f364f33b314cbaeb3b44c0) Reviewed-on: https://gerrit.libreoffice.org/39985 Reviewed-by: Aron Budea <[email protected]> Tested-by: Aron Budea <[email protected]> diff --git a/embeddedobj/source/general/docholder.cxx b/embeddedobj/source/general/docholder.cxx index a67091ff3f5d..0a490153e8d5 100644 --- a/embeddedobj/source/general/docholder.cxx +++ b/embeddedobj/source/general/docholder.cxx @@ -878,7 +878,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() ) @@ -887,6 +886,7 @@ uno::Reference< frame::XFrame > const & DocumentHolder::GetDocFrame() xOwnLM->lock(); } + GetExtent( embed::Aspects::MSOLE_CONTENT, &aSize ); SetExtent( embed::Aspects::MSOLE_CONTENT, aSize ); if ( xOwnLM.is() )
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
