diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-26 14:29:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-27 08:20:11 +0200 |
commit | 9b791f9c31165b82ec0fa3760a8af18c5af21294 (patch) | |
tree | 3668f3b746bc584280a01162f86a0b2fe6b46510 /cpputools | |
parent | 3b24dcc8a8138c1e1495c3dba5ffe5748cb183c2 (diff) |
remove unnecessary use of OUString constructor when throwing
Change-Id: I4a3f3f911dcfbf88696053215a2fb7a94678244c
Diffstat (limited to 'cpputools')
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index bb8462f75e7f..076088df9b0e 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -516,7 +516,7 @@ SAL_IMPLEMENT_MAIN() { Reference< XComponent > xComp( xBridge, UNO_QUERY ); if (! xComp.is()) - throw RuntimeException( OUString( "bridge factory does not export interface \"com.sun.star.lang.XComponent\"!" ) ); + throw RuntimeException( "bridge factory does not export interface \"com.sun.star.lang.XComponent\"!" ); ODisposingListener::waitFor( xComp ); xComp->dispose(); // explicitly dispose the remote bridge so that it joins @@ -545,7 +545,7 @@ SAL_IMPLEMENT_MAIN() Reference< XComponent > xComp( xInstance, UNO_QUERY ); if (xComp.is()) xComp->dispose(); - throw RuntimeException( OUString( "component does not export interface interface \"com.sun.star.lang.XMain\"!" ) ); + throw RuntimeException( "component does not export interface interface \"com.sun.star.lang.XMain\"!" ); } } } |