summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/general/docholder.cxx2
1 files changed, 1 insertions, 1 deletions
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() )