cppuhelper: Use appropriate OUString functions on string constants
Change-Id: I52a38a07982801087903817ec5b65e992a1d58d1
This commit is contained in:
parent
a1a8654c85
commit
f137353904
@ -197,8 +197,7 @@ void OComponentHelper::dispose()
|
||||
catch (Exception & exc)
|
||||
{
|
||||
throw RuntimeException(
|
||||
OUString("unexpected UNO exception caught: ") +
|
||||
exc.Message );
|
||||
"unexpected UNO exception caught: " + exc.Message );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -128,8 +128,7 @@ void WeakComponentImplHelperBase::dispose()
|
||||
catch (Exception & exc)
|
||||
{
|
||||
throw RuntimeException(
|
||||
OUString("unexpected UNO exception caught: ") +
|
||||
exc.Message );
|
||||
"unexpected UNO exception caught: " + exc.Message );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -261,8 +260,7 @@ void WeakAggComponentImplHelperBase::dispose()
|
||||
catch (Exception & exc)
|
||||
{
|
||||
throw RuntimeException(
|
||||
OUString("unexpected UNO exception caught: ") +
|
||||
exc.Message );
|
||||
"unexpected UNO exception caught: " + exc.Message );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user