cppuhelper: Use appropriate OUString functions on string constants

Change-Id: I52a38a07982801087903817ec5b65e992a1d58d1
This commit is contained in:
Stephan Bergmann 2014-12-16 17:27:57 +01:00
parent a1a8654c85
commit f137353904
2 changed files with 3 additions and 6 deletions

View File

@ -197,8 +197,7 @@ void OComponentHelper::dispose()
catch (Exception & exc) catch (Exception & exc)
{ {
throw RuntimeException( throw RuntimeException(
OUString("unexpected UNO exception caught: ") + "unexpected UNO exception caught: " + exc.Message );
exc.Message );
} }
} }
else else

View File

@ -128,8 +128,7 @@ void WeakComponentImplHelperBase::dispose()
catch (Exception & exc) catch (Exception & exc)
{ {
throw RuntimeException( throw RuntimeException(
OUString("unexpected UNO exception caught: ") + "unexpected UNO exception caught: " + exc.Message );
exc.Message );
} }
} }
} }
@ -261,8 +260,7 @@ void WeakAggComponentImplHelperBase::dispose()
catch (Exception & exc) catch (Exception & exc)
{ {
throw RuntimeException( throw RuntimeException(
OUString("unexpected UNO exception caught: ") + "unexpected UNO exception caught: " + exc.Message );
exc.Message );
} }
} }
} }