summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltexte.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-01-31 08:10:50 +0000
committerRüdiger Timm <rt@openoffice.org>2005-01-31 08:10:50 +0000
commit1acdfecc9d5550a58e9043cff3cc57f7a803b44c (patch)
tree08a5517bc9113e25e75741f1b9cee21aab5848c9 /sw/source/filter/xml/xmltexte.cxx
parent7437df2d4be10bac261b3e3cfac37b8a00a6a80d (diff)
INTEGRATION: CWS mav15 (1.35.6); FILE MERGED
2005/01/21 14:51:36 mav 1.35.6.2: #i39746# the exception is still useful for errorhandling and it causes no crash 2005/01/21 13:28:11 mav 1.35.6.1: #i39746# cache the visual area size for OLE objects and switch own objects to RUNNING state automatically
Diffstat (limited to 'sw/source/filter/xml/xmltexte.cxx')
-rw-r--r--sw/source/filter/xml/xmltexte.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 9f3a997e9ff6..8d740e37775b 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmltexte.cxx,v $
*
- * $Revision: 1.35 $
+ * $Revision: 1.36 $
*
- * last change: $Author: rt $ $Date: 2005-01-11 12:37:49 $
+ * last change: $Author: rt $ $Date: 2005-01-31 09:10:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -358,6 +358,7 @@ void lcl_addOutplaceProperties(
//TODO/LATER: only VisAreaSize is available!
//const Rectangle& rVisArea = pEmbed->GetVisArea();
awt::Size aSz = xObj->getVisualAreaSize( embed::Aspects::MSOLE_CONTENT );
+
if( aSz.Width && aSz.Height )
{
Any aAny;