diff options
Diffstat (limited to 'desktop/source/splash/services_spl.cxx')
-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)); } |