summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-16 17:27:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-16 17:27:57 +0100
commitf1373539043d9040b68e44500d12cfa20126f6d3 (patch)
tree91fb45fe6d70f5918ca8f134e4513e6b699dfebb /cppuhelper
parenta1a8654c853372aad3546cbc5d31aaea705809a7 (diff)
cppuhelper: Use appropriate OUString functions on string constants
Change-Id: I52a38a07982801087903817ec5b65e992a1d58d1
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 );
}
}
}