From ef513fd4b049b214a03fbe6e62a5ea43680a7a9b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 26 May 2017 10:58:42 +0200 Subject: remove unnecessary use of OString::getStr Change-Id: I0490efedf459190521f4339854b3394d57765fdb Reviewed-on: https://gerrit.libreoffice.org/38058 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppuhelper/source/implbase.cxx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'cppuhelper/source/implbase.cxx') diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx index 6118ccb79fc1..c8b72f61a48f 100644 --- a/cppuhelper/source/implbase.cxx +++ b/cppuhelper/source/implbase.cxx @@ -77,10 +77,8 @@ void WeakComponentImplHelperBase::release() dispose(); } catch (RuntimeException const& exc) { // don't break throw () - OSL_FAIL( - OUStringToOString( - exc.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); - static_cast(exc); + (void)exc; + SAL_WARN( "cppuhelper", exc.Message ); } OSL_ASSERT( rBHelper.bDisposed ); } @@ -204,10 +202,8 @@ void WeakAggComponentImplHelperBase::release() dispose(); } catch (RuntimeException const& exc) { // don't break throw () - OSL_FAIL( - OUStringToOString( - exc.Message, RTL_TEXTENCODING_ASCII_US ).getStr() ); - static_cast(exc); + (void)exc; + SAL_WARN( "cppuhelper", exc.Message ); } OSL_ASSERT( rBHelper.bDisposed ); } -- cgit /cib/libreoffice-6-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-06-04tdf#94632 Light sifr and breeze icon themes for dark OS themesMatthias Freund