diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-28 12:50:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-29 09:01:40 +0200 |
commit | ebc0a15515c2e29259a7e229cfbdfb5d26fc3006 (patch) | |
tree | 2ce9446ed312a1a7aed53183b19ecc9fefabea8a /cppuhelper | |
parent | f0ae48b684e89acd7088c31a8feff5fc03d51105 (diff) |
remove more unnecesary OUString constructor use
when throwing exceptions
Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/implbase.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx index 7d5f3ec48456..2e7d14ba6978 100644 --- a/cppuhelper/source/implbase.cxx +++ b/cppuhelper/source/implbase.cxx @@ -283,8 +283,7 @@ void WeakComponentImplHelperBase::dispose() catch (Exception & exc) { throw RuntimeException( - OUString( - "unexpected UNO exception caught: ") + + OUString("unexpected UNO exception caught: ") + exc.Message ); } } @@ -419,8 +418,7 @@ void WeakAggComponentImplHelperBase::dispose() catch (Exception & exc) { throw RuntimeException( - OUString( - "unexpected UNO exception caught: ") + + OUString("unexpected UNO exception caught: ") + exc.Message ); } } |