summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-18 10:21:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-18 16:19:11 +0200
commit8ccd9fb5baddc9734be64861a00c1efad42e178e (patch)
tree765373987a82ed0882e3fabddc63a6b246f80680 /sd
parent2b15319349f90861c55cc3eb34fe5653b3d9a29b (diff)
cid#1448227 Uncaught exception
Change-Id: I6149b087217b9b34ecce984536aae52b8ee9d430 Reviewed-on: https://gerrit.libreoffice.org/75846 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 24b77f9e3730..1d1c98752398 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -329,8 +329,9 @@ void SAL_CALL SdXImpressDocument::release() throw ( )
dispose();
}
catch (const uno::RuntimeException&)
- { // don't break throw ()
- css::uno::Any ex( cppu::getCaughtException() );
+ {
+ // don't break throw ()
+ css::uno::Any ex(DbgGetCaughtException());
SAL_WARN( "sd", exceptionToString(ex) );
}
}