Kaydet (Commit) 69d31d10 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1311945 Uncaught exception

Change-Id: I9c5738330a765747e749c4ec88bc6e87d8703c1c
üst 508a99e5
...@@ -442,13 +442,9 @@ void DrawController::FireSwitchCurrentPage (SdPage* pNewCurrentPage) throw() ...@@ -442,13 +442,9 @@ void DrawController::FireSwitchCurrentPage (SdPage* pNewCurrentPage) throw()
mpCurrentPage.reset(pNewCurrentPage); mpCurrentPage.reset(pNewCurrentPage);
} }
catch (const uno::Exception&) catch (const uno::Exception& e)
{ {
OSL_FAIL( SAL_WARN("sd", "sd::SdUnoDrawView::FireSwitchCurrentPage(), exception caught: " << e.Message);
OString("sd::SdUnoDrawView::FireSwitchCurrentPage(), exception caught: " +
OUStringToOString(
comphelper::anyToString( cppu::getCaughtException() ),
RTL_TEXTENCODING_UTF8 )).getStr() );
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment