cppuhelper: Use appropriate OUString functions on string constants
Change-Id: I52a38a07982801087903817ec5b65e992a1d58d1
This commit is contained in:
@@ -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
|
||||||
|
@@ -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 );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user