Kaydet (Commit) f1373539 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

cppuhelper: Use appropriate OUString functions on string constants

Change-Id: I52a38a07982801087903817ec5b65e992a1d58d1
üst a1a8654c
......@@ -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 );
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment