diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-22 22:32:51 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-22 22:32:51 +0100 |
commit | 8c779305bca6b2ca4badadb1ed0c89dc092f287f (patch) | |
tree | 8e5318e2afbd3df93df72c5e8d89374add889f1c /svl/source/uno | |
parent | bd80ff75a216d6494a1de64896856f4bbccc52ff (diff) |
RTL_CONSTASCII_USTRINGPARAM in libs-gui 07
Diffstat (limited to 'svl/source/uno')
-rw-r--r-- | svl/source/uno/pathservice.cxx | 4 | ||||
-rw-r--r-- | svl/source/uno/registerservices.cxx | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/svl/source/uno/pathservice.cxx b/svl/source/uno/pathservice.cxx index a7a932435d24..5317176f51b5 100644 --- a/svl/source/uno/pathservice.cxx +++ b/svl/source/uno/pathservice.cxx @@ -52,7 +52,7 @@ public: virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException) { - return OUString::createFromAscii("com.sun.star.comp.svl.PathService"); + return OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.svl.PathService")); } virtual sal_Bool SAL_CALL supportsService ( @@ -66,7 +66,7 @@ public: throw(css::uno::RuntimeException) { css::uno::Sequence< OUString > aRet(1); - aRet.getArray()[0] = OUString::createFromAscii("com.sun.star.config.SpecialConfigManager"); + aRet.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.config.SpecialConfigManager")); return aRet; } diff --git a/svl/source/uno/registerservices.cxx b/svl/source/uno/registerservices.cxx index 679f79898d79..e90d5bfe5de6 100644 --- a/svl/source/uno/registerservices.cxx +++ b/svl/source/uno/registerservices.cxx @@ -74,18 +74,18 @@ SVL_DLLPUBLIC sal_Bool SAL_CALL component_writeInfo ( OUString::createFromAscii( "/com.sun.star.uno.util.numbers.SvNumberFormatsSupplierServiceObject/UNO/SERVICES" ) ); xNewKey->createKey ( - OUString::createFromAscii( "com.sun.star.util.NumberFormatsSupplier" ) ); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.NumberFormatsSupplier")) ); xNewKey = xRegistryKey->createKey ( OUString::createFromAscii( "/com.sun.star.uno.util.numbers.SvNumberFormatterServiceObject/UNO/SERVICES" ) ); xNewKey->createKey ( - OUString::createFromAscii( "com.sun.star.util.NumberFormatter" ) ); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.NumberFormatter")) ); xNewKey = xRegistryKey->createKey( - OUString::createFromAscii( "/com.sun.star.comp.svl.PathService/UNO/SERVICES" ) ); + OUString(RTL_CONSTASCII_USTRINGPARAM("/com.sun.star.comp.svl.PathService/UNO/SERVICES")) ); xNewKey->createKey ( - OUString::createFromAscii( "com.sun.star.config.SpecialConfigManager" ) ); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.config.SpecialConfigManager")) ); return sal_True; } @@ -105,7 +105,7 @@ SVL_DLLPUBLIC void* SAL_CALL component_getFactory ( { Sequence< OUString > aServiceNames(1); aServiceNames.getArray()[0] = - OUString::createFromAscii( "com.sun.star.util.NumberFormatsSupplier" ); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.NumberFormatsSupplier")); xFactory = ::cppu::createSingleFactory( reinterpret_cast< css::lang::XMultiServiceFactory* >(_pServiceManager), @@ -119,7 +119,7 @@ SVL_DLLPUBLIC void* SAL_CALL component_getFactory ( { Sequence< OUString > aServiceNames(1); aServiceNames.getArray()[0] = - OUString::createFromAscii( "com.sun.star.util.NumberFormatter" ); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.NumberFormatter")); xFactory = ::cppu::createSingleFactory( reinterpret_cast< css::lang::XMultiServiceFactory* >(_pServiceManager), @@ -132,7 +132,7 @@ SVL_DLLPUBLIC void* SAL_CALL component_getFactory ( { Sequence< OUString > aServiceNames(1); aServiceNames.getArray()[0] = - OUString::createFromAscii( "com.sun.star.config.SpecialConfigManager" ); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.config.SpecialConfigManager")); xFactory = ::cppu::createSingleFactory ( reinterpret_cast< css::lang::XMultiServiceFactory* >( _pServiceManager ), OUString::createFromAscii( pImplementationName ), |