diff options
Diffstat (limited to 'sd/source/ui/unoidl/unomodel.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index ca453c80d2b5..41cd4ad24a27 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -125,6 +125,7 @@ #include <drawinglayer/primitive2d/structuretagprimitive2d.hxx> #include <sfx2/lokcharthelper.hxx> +#include <tools/diagnose_ex.h> #define TWIPS_PER_PIXEL 15 @@ -326,9 +327,10 @@ void SAL_CALL SdXImpressDocument::release() throw ( ) { dispose(); } - catch (const uno::RuntimeException& exc) + catch (const uno::RuntimeException&) { // don't break throw () - SAL_WARN( "sd", exc ); + css::uno::Any ex( cppu::getCaughtException() ); + SAL_WARN( "sd", exceptionToString(ex) ); } } SfxBaseModel::release(); |