diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-31 08:10:35 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-31 08:10:35 +0000 |
commit | 7437df2d4be10bac261b3e3cfac37b8a00a6a80d (patch) | |
tree | 2e77786127b142aa1e341982efadf17873a82160 /sw/source/core/unocore | |
parent | 1c6a7dfd41f01b2e47f3d425ba8898388459c3d6 (diff) |
INTEGRATION: CWS mav15 (1.95.92); FILE MERGED
2005/01/21 13:28:07 mav 1.95.92.1: #i39746# cache the visual area size for OLE objects and switch own objects to RUNNING state automatically
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 598905a4af76..afd218fc044f 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoframe.cxx,v $ * - * $Revision: 1.95 $ + * $Revision: 1.96 $ * - * last change: $Author: rt $ $Date: 2004-11-26 16:27:27 $ + * last change: $Author: rt $ $Date: 2005-01-31 09:10:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2257,9 +2257,7 @@ void SwXFrame::attachToRange(const uno::Reference< XTextRange > & xTextRange) //TODO/LATER: from where do I get a ViewAspect? And how do I transport it to the OLENode? sal_Int64 nAspect = embed::Aspects::MSOLE_CONTENT; - // TODO/LEAN: VisualArea still needs running state - svt::EmbeddedObjectRef::TryRunningState( xIPObj ); - + // TODO/LEAN: VisualArea may switch object to running state //The Size should be suggested by the OLE server if not manually set MapUnit aRefMap = VCLUnoHelper::UnoEmbed2VCLMapUnit( xIPObj->getMapUnit( nAspect ) ); awt::Size aSize = xIPObj->getVisualAreaSize( nAspect ); |