summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx')
-rw-r--r--stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
index e78dcc3a7153..1ac83724614a 100644
--- a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
+++ b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
@@ -149,19 +149,19 @@ css::uno::Reference< css::uno::XInterface > create(
return static_cast< cppu::OWeakObject * >(new Factory(context));
} catch (std::bad_alloc &) {
throw css::uno::RuntimeException(
- rtl::OUString::createFromAscii("std::bad_alloc"), 0);
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("std::bad_alloc")), 0);
}
}
rtl::OUString getImplementationName() {
- return rtl::OUString::createFromAscii(
- "com.sun.star.comp.uri.VndSunStarPkgUrlReferenceFactory");
+ return rtl::OUString(
+ RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.uri.VndSunStarPkgUrlReferenceFactory"));
}
css::uno::Sequence< rtl::OUString > getSupportedServiceNames() {
css::uno::Sequence< rtl::OUString > s(1);
- s[0] = rtl::OUString::createFromAscii(
- "com.sun.star.uri.VndSunStarPkgUrlReferenceFactory");
+ s[0] = rtl::OUString(
+ RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uri.VndSunStarPkgUrlReferenceFactory"));
return s;
}