diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-24 20:47:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-24 20:47:49 +0100 |
commit | cb000a71d4bbdd89e8f89a47e7fd14cb24f6ffdf (patch) | |
tree | f717b70015fe7a9558cda977bfc8a52bd6bb18b7 /stoc/source/uriproc/ExternalUriReferenceTranslator.cxx | |
parent | 9007f72383ceb7e1689c80ceed7a19f0f13c4878 (diff) |
micro opts
Diffstat (limited to 'stoc/source/uriproc/ExternalUriReferenceTranslator.cxx')
-rw-r--r-- | stoc/source/uriproc/ExternalUriReferenceTranslator.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx index 359ae36dc2c0..1a9f65e641e1 100644 --- a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx +++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx @@ -222,19 +222,19 @@ css::uno::Reference< css::uno::XInterface > create( return static_cast< cppu::OWeakObject * >(new Translator(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.ExternalUriReferenceTranslator"); + return rtl::OUString( + RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.uri.ExternalUriReferenceTranslator")); } css::uno::Sequence< rtl::OUString > getSupportedServiceNames() { css::uno::Sequence< rtl::OUString > s(1); - s[0] = rtl::OUString::createFromAscii( - "com.sun.star.uri.ExternalUriReferenceTranslator"); + s[0] = rtl::OUString( + RTL_CONSTASCII_USTRINGPARAM("com.sun.star.uri.ExternalUriReferenceTranslator")); return s; } |