summaryrefslogtreecommitdiff
path: root/shell/source/win32/SysShentry.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-19 19:34:59 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-19 19:34:59 +0100
commit60fec7754d70f0527d6ae80455b4ca876b7d451b (patch)
treecdc391e4422ff7220c889bf52fc566f9e710bbc4 /shell/source/win32/SysShentry.cxx
parent0a994bff157dfdd9a879017e8ac11233cb9a7bc9 (diff)
TL_CONSTASCII_USTRINGPARAM in libs core 16
Diffstat (limited to 'shell/source/win32/SysShentry.cxx')
-rw-r--r--shell/source/win32/SysShentry.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/SysShentry.cxx b/shell/source/win32/SysShentry.cxx
index c96a1ea7dfdb..848201c604f2 100644
--- a/shell/source/win32/SysShentry.cxx
+++ b/shell/source/win32/SysShentry.cxx
@@ -100,7 +100,7 @@ sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistr
{
Reference< XRegistryKey > pXNewKey( static_cast< XRegistryKey* >( pRegistryKey ) );
pXNewKey->createKey(
- OUString::createFromAscii( SYSSHEXEC_REGKEY_NAME ) );
+ OUString(RTL_CONSTASCII_USTRINGPARAM( SYSSHEXEC_REGKEY_NAME )) );
}
catch( InvalidRegistryException& )
{
@@ -124,7 +124,7 @@ void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* p
if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, SYSSHEXEC_IMPL_NAME ) ) )
{
Sequence< OUString > aSNS( 1 );
- aSNS.getArray( )[0] = OUString::createFromAscii( SYSSHEXEC_SERVICE_NAME );
+ aSNS.getArray( )[0] = OUString(RTL_CONSTASCII_USTRINGPARAM( SYSSHEXEC_SERVICE_NAME ));
Reference< XSingleServiceFactory > xFactory ( createOneInstanceFactory(
reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ),