diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-22 17:20:34 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-22 17:20:34 +0100 |
commit | d2cac56c6619b2b831d2f458b12b9771b78c83d2 (patch) | |
tree | 490f83ca8424ee7ec31f4721c307edc4501e1476 /i18npool/source/search | |
parent | RTL_CONSTASCII_USTRINGPARAM in libs-gui 02 (diff) | |
download | core-d2cac56c6619b2b831d2f458b12b9771b78c83d2.tar.gz core-d2cac56c6619b2b831d2f458b12b9771b78c83d2.zip |
RTL_CONSTASCII_USTRINGPARAM in libs-gui 03
Diffstat (limited to 'i18npool/source/search')
-rw-r--r-- | i18npool/source/search/textsearch.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx index ecf236f5cdde..db6a18ac051d 100644 --- a/i18npool/source/search/textsearch.cxx +++ b/i18npool/source/search/textsearch.cxx @@ -153,7 +153,7 @@ void TextSearch::setOptions( const SearchOptions& rOptions ) throw( RuntimeExcep if ( !xBreak.is() ) { Reference < XInterface > xI = xMSF->createInstance( - OUString::createFromAscii( "com.sun.star.i18n.BreakIterator")); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.BreakIterator"))); if( xI.is() ) xI->queryInterface( ::getCppuType( (const Reference< XBreakIterator >*)0)) @@ -413,7 +413,7 @@ bool TextSearch::IsDelimiter( const OUString& rStr, sal_Int32 nPos ) const if ( !xCharClass.is() ) { Reference < XInterface > xI = xMSF->createInstance( - OUString::createFromAscii( "com.sun.star.i18n.CharacterClassification")); + OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.CharacterClassification"))); if( xI.is() ) xI->queryInterface( ::getCppuType( (const Reference< XCharacterClassification >*)0)) @@ -1001,7 +1001,7 @@ sal_Bool SAL_CALL component_writeInfo( xNewKey = pRegistryKey->createKey( getImplementationName_Static() ); xNewKey = xNewKey->createKey( - ::rtl::OUString::createFromAscii( "/UNO/SERVICES" ) ); + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/UNO/SERVICES")) ); xNewKey->createKey( getServiceName_Static() ); } return sal_True; |