summaryrefslogtreecommitdiff
path: root/svl/source/uno
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 10:43:06 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 12:58:04 -0500
commit69660f216aff43f397bbcc9d3c0f251078a6aa79 (patch)
treedea88c7e6ae808927ad9e4f8c4fa746dd2f58c7d /svl/source/uno
parent86013acb0fffb105d3fcd6ca331fae0d1ae02707 (diff)
targeted string re-work
Change-Id: I20062aa0d39c0675014f1d38f10d6ab5c331ec75
Diffstat (limited to 'svl/source/uno')
-rw-r--r--svl/source/uno/pathservice.cxx4
-rw-r--r--svl/source/uno/registerservices.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/svl/source/uno/pathservice.cxx b/svl/source/uno/pathservice.cxx
index 1586939380d1..b886d70ad357 100644
--- a/svl/source/uno/pathservice.cxx
+++ b/svl/source/uno/pathservice.cxx
@@ -50,7 +50,7 @@ public:
virtual OUString SAL_CALL getImplementationName()
throw(css::uno::RuntimeException)
{
- return OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.svl.PathService"));
+ return OUString("com.sun.star.comp.svl.PathService");
}
virtual sal_Bool SAL_CALL supportsService (
@@ -64,7 +64,7 @@ public:
throw(css::uno::RuntimeException)
{
css::uno::Sequence< OUString > aRet(1);
- aRet.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.config.SpecialConfigManager"));
+ aRet.getArray()[0] = OUString("com.sun.star.config.SpecialConfigManager");
return aRet;
}
diff --git a/svl/source/uno/registerservices.cxx b/svl/source/uno/registerservices.cxx
index 5b4f8280042b..aa82fef65999 100644
--- a/svl/source/uno/registerservices.cxx
+++ b/svl/source/uno/registerservices.cxx
@@ -67,7 +67,7 @@ SVL_DLLPUBLIC void* SAL_CALL svl_component_getFactory (
{
Sequence< OUString > aServiceNames(1);
aServiceNames.getArray()[0] =
- OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.NumberFormatsSupplier"));
+ OUString("com.sun.star.util.NumberFormatsSupplier");
xFactory = ::cppu::createSingleFactory(
reinterpret_cast< css::lang::XMultiServiceFactory* >(_pServiceManager),
@@ -81,7 +81,7 @@ SVL_DLLPUBLIC void* SAL_CALL svl_component_getFactory (
{
Sequence< OUString > aServiceNames(1);
aServiceNames.getArray()[0] =
- OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.NumberFormatter"));
+ OUString("com.sun.star.util.NumberFormatter");
xFactory = ::cppu::createSingleFactory(
reinterpret_cast< css::lang::XMultiServiceFactory* >(_pServiceManager),
@@ -94,7 +94,7 @@ SVL_DLLPUBLIC void* SAL_CALL svl_component_getFactory (
{
Sequence< OUString > aServiceNames(1);
aServiceNames.getArray()[0] =
- OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.config.SpecialConfigManager"));
+ OUString("com.sun.star.config.SpecialConfigManager");
xFactory = ::cppu::createSingleFactory (
reinterpret_cast< css::lang::XMultiServiceFactory* >( _pServiceManager ),
OUString::createFromAscii( pImplementationName ),