summaryrefslogtreecommitdiff
path: root/svtools/source/misc
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-01-31 08:00:57 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-01-31 08:00:57 +0000
commita09239fe37755b81bc17b49729921845bd7cbd7c (patch)
treefea21dd2b78a53ace87db16263730db72d357813 /svtools/source/misc
parent7f7a0d53f4b7a06939505d241a9c355141a5c341 (diff)
INTEGRATION: CWS mav15 (1.3.80); FILE MERGED
2005/01/21 13:19:26 mav 1.3.80.1: #i39746# cache the visual area size for OLE objects and switch own objects to RUNNING state automatically
Diffstat (limited to 'svtools/source/misc')
-rw-r--r--svtools/source/misc/embedtransfer.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/svtools/source/misc/embedtransfer.cxx b/svtools/source/misc/embedtransfer.cxx
index 9897be413be6..2ec1d711b5d8 100644
--- a/svtools/source/misc/embedtransfer.cxx
+++ b/svtools/source/misc/embedtransfer.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: embedtransfer.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2004-11-26 16:15:10 $
+ * last change: $Author: rt $ $Date: 2005-01-31 09:00:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -227,8 +227,7 @@ void SvEmbedTransferHelper::FillTransferableObjectDescriptor( TransferableObject
rDesc.mnOle2Misc = xObj->getStatus( rDesc.mnViewAspect );
awt::Size aSz = xObj->getVisualAreaSize( rDesc.mnViewAspect );
- // TODO/LEAN: getMapUnit still needs running state
- svt::EmbeddedObjectRef::TryRunningState( xObj );
+ // TODO/LEAN: getMapUnit can switch object to running state
MapUnit aMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( rDesc.mnViewAspect ) );
rDesc.maSize = OutputDevice::LogicToLogic( Size( aSz.Width, aSz.Height ), aMapUnit, MAP_100TH_MM );
rDesc.maDragStartPos = Point();