summaryrefslogtreecommitdiff
path: root/svtools/source/misc
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-01-31 08:25:43 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-01-31 08:25:43 +0000
commit9580791a337e5b71e25a51ba94d8647734ff8a0b (patch)
treee7c9293da3a718e5f7af4d02cc12c552ea5388dd /svtools/source/misc
parent86bfc2813491da512ff7674175ec2972dbccfee0 (diff)
INTEGRATION: CWS mav15 (1.3.78); FILE MERGED
2005/01/21 13:19:25 mav 1.3.78.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/embedhlp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx
index bb9654721833..f4cab1d045c1 100644
--- a/svtools/source/misc/embedhlp.cxx
+++ b/svtools/source/misc/embedhlp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: embedhlp.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-01-31 08:30:35 $
+ * last change: $Author: rt $ $Date: 2005-01-31 09:25:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -660,7 +660,7 @@ uno::Reference< io::XInputStream > EmbeddedObjectRef::GetGraphicReplacementStrea
{
try
{
- TryRunningState( xObj );
+ // retrieving of the visual representation can switch object to running state
embed::VisualRepresentation aRep = xObj->getPreferredVisualRepresentation( nViewAspect );
if ( pMediaType )
*pMediaType = aRep.Flavor.MimeType;