summaryrefslogtreecommitdiff
path: root/cppuhelper/test/testcmp/TestComponent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/test/testcmp/TestComponent.cxx')
-rw-r--r--cppuhelper/test/testcmp/TestComponent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/test/testcmp/TestComponent.cxx b/cppuhelper/test/testcmp/TestComponent.cxx
index e23069ad047f..a5cd71daea35 100644
--- a/cppuhelper/test/testcmp/TestComponent.cxx
+++ b/cppuhelper/test/testcmp/TestComponent.cxx
@@ -98,7 +98,7 @@ uno::Reference<uno::XInterface> SAL_CALL TestComponent::create(
}
catch (std::bad_alloc &)
{
- throw uno::RuntimeException(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("std::bad_alloc")),
+ throw uno::RuntimeException(rtl::OUString("std::bad_alloc"),
uno::Reference<uno::XInterface>());
}
}
@@ -106,7 +106,7 @@ uno::Reference<uno::XInterface> SAL_CALL TestComponent::create(
uno::Sequence<rtl::OUString> SAL_CALL TestComponent::getSupportedServiceNames_Static()
{
uno::Sequence<rtl::OUString> serviceNames(1);
- serviceNames[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.lang.ServiceInfo"));
+ serviceNames[0] = rtl::OUString("com.sun.star.lang.ServiceInfo");
return serviceNames;
}