diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-19 19:34:59 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-19 19:34:59 +0100 |
commit | 60fec7754d70f0527d6ae80455b4ca876b7d451b (patch) | |
tree | cdc391e4422ff7220c889bf52fc566f9e710bbc4 /shell/source/win32/simplemail/smplmailentry.cxx | |
parent | 0a994bff157dfdd9a879017e8ac11233cb9a7bc9 (diff) |
TL_CONSTASCII_USTRINGPARAM in libs core 16
Diffstat (limited to 'shell/source/win32/simplemail/smplmailentry.cxx')
-rw-r--r-- | shell/source/win32/simplemail/smplmailentry.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/simplemail/smplmailentry.cxx b/shell/source/win32/simplemail/smplmailentry.cxx index 7ed4380b8116..2c6c571eb92f 100644 --- a/shell/source/win32/simplemail/smplmailentry.cxx +++ b/shell/source/win32/simplemail/smplmailentry.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( COMP_REGKEY_NAME ) ); + OUString(RTL_CONSTASCII_USTRINGPARAM( COMP_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, COMP_IMPL_NAME ) ) ) { Sequence< OUString > aSNS( 1 ); - aSNS.getArray( )[0] = OUString::createFromAscii( COMP_SERVICE_NAME ); + aSNS.getArray( )[0] = OUString(RTL_CONSTASCII_USTRINGPARAM( COMP_SERVICE_NAME )); Reference< XSingleServiceFactory > xFactory ( createOneInstanceFactory( reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ), |