summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/component.cxx3
-rw-r--r--cppuhelper/source/implbase.cxx6
2 files changed, 3 insertions, 6 deletions
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx
index 361dba0957e1..2c34da024b6b 100644
--- a/cppuhelper/source/component.cxx
+++ b/cppuhelper/source/component.cxx
@@ -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
diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx
index aa75e9e4e788..f42047cbc916 100644
--- a/cppuhelper/source/implbase.cxx
+++ b/cppuhelper/source/implbase.cxx
@@ -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 );
}
}
}