summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-12-19 12:59:44 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-12-19 12:59:44 +0000
commit170090c08f8416d9e968ce721f99852a5b1b73f4 (patch)
tree141936957449726ca682031f62491f1fa7e002ad /svx/source
parent16a26bede642a88bb12c021e11fe6b8cb27f08f0 (diff)
INTEGRATION: CWS fwk56 (1.18.28); FILE MERGED
2006/11/06 13:38:22 mav 1.18.28.2: #133505# fix typo 2006/11/03 08:21:56 mav 1.18.28.1: #133505# it is possible to continue storing without size
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/msfilter/msoleexp.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/svx/source/msfilter/msoleexp.cxx b/svx/source/msfilter/msoleexp.cxx
index 3aef201a167c..4306b9652d55 100644
--- a/svx/source/msfilter/msoleexp.cxx
+++ b/svx/source/msfilter/msoleexp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: msoleexp.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: obo $ $Date: 2006-10-13 11:23:04 $
+ * last change: $Author: ihi $ $Date: 2006-12-19 13:59:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -313,6 +313,12 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SvSto
aSize.Width = 5000;
aSize.Height = 5000;
}
+ catch( uno::Exception& )
+ {
+ OSL_ENSURE( sal_False, "Unexpected exception while getting visual area size!\n" );
+ aSize.Width = 5000;
+ aSize.Height = 5000;
+ }
//Rectangle aVisArea = xSfxIPObj->GetVisArea( ASPECT_CONTENT );
sal_Int32 pRect[4];