diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-16 16:19:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-16 17:27:15 +0100 |
commit | 69d31d10c298693c4d7f0db6f8a6f8025bbf07c2 (patch) | |
tree | 61d489565fbdd4b5096bbf67e3c585706a0c00b9 /sd/source | |
parent | 508a99e50d942a4911374ae2daae05be996708fd (diff) |
coverity#1311945 Uncaught exception
Change-Id: I9c5738330a765747e749c4ec88bc6e87d8703c1c
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/unoidl/DrawController.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx index ffa8dff0e153..78fcbe04db87 100644 --- a/sd/source/ui/unoidl/DrawController.cxx +++ b/sd/source/ui/unoidl/DrawController.cxx @@ -442,13 +442,9 @@ void DrawController::FireSwitchCurrentPage (SdPage* pNewCurrentPage) throw() mpCurrentPage.reset(pNewCurrentPage); } - catch (const uno::Exception&) + catch (const uno::Exception& e) { - OSL_FAIL( - OString("sd::SdUnoDrawView::FireSwitchCurrentPage(), exception caught: " + - OUStringToOString( - comphelper::anyToString( cppu::getCaughtException() ), - RTL_TEXTENCODING_UTF8 )).getStr() ); + SAL_WARN("sd", "sd::SdUnoDrawView::FireSwitchCurrentPage(), exception caught: " << e.Message); } } } |