diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-08 15:14:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-08 15:17:22 +0000 |
commit | 164ac84e28df50911a8c20f78119d05e21086c6c (patch) | |
tree | 1dc5cec292f2072e6f42a1d19f3a857ef1bb8793 /desktop/source/splash | |
parent | d2602cabe651b43b8354eaee9038fc90798e28e2 (diff) |
use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'desktop/source/splash')
-rw-r--r-- | desktop/source/splash/services_spl.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/desktop/source/splash/services_spl.cxx b/desktop/source/splash/services_spl.cxx index 1421f53e2401..b63f89792a29 100644 --- a/desktop/source/splash/services_spl.cxx +++ b/desktop/source/splash/services_spl.cxx @@ -37,7 +37,6 @@ #include "splash.hxx" - using namespace rtl; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -65,7 +64,6 @@ static const fProvider pInstanceProviders[] = NULL }; - static const char** pSupportedServices[] = { SplashScreen::interfaces, @@ -110,9 +108,9 @@ component_writeInfo( for (int i = 0; (pServices[i]!=NULL)&&(pImplementations[i]!=NULL); i++) { pServiceName= pServices[i]; pImplName = pImplementations[i]; - aImpl = OUString::createFromAscii("/") + aImpl = OUString(RTL_CONSTASCII_USTRINGPARAM("/")) + OUString::createFromAscii(pImplName) - + OUString::createFromAscii("/UNO/SERVICES"); + + OUString(RTL_CONSTASCII_USTRINGPARAM("/UNO/SERVICES")); Reference<XRegistryKey> xNewKey = xKey->createKey(aImpl); xNewKey->createKey(OUString::createFromAscii(pServiceName)); } |