summaryrefslogtreecommitdiff
path: root/i18npool/source/search/textsearch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/search/textsearch.cxx')
-rw-r--r--i18npool/source/search/textsearch.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index db6a18ac051d..ab4d50f7397f 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -114,8 +114,8 @@ void TextSearch::setOptions( const SearchOptions& rOptions ) throw( RuntimeExcep
if( !xTranslit.is() )
{
Reference < XInterface > xI = xMSF->createInstance(
- OUString::createFromAscii(
- "com.sun.star.i18n.Transliteration"));
+ OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.i18n.Transliteration")));
if ( xI.is() )
xI->queryInterface( ::getCppuType(
(const Reference< XExtendedTransliteration >*)0))
@@ -136,8 +136,8 @@ void TextSearch::setOptions( const SearchOptions& rOptions ) throw( RuntimeExcep
if( !xTranslit2.is() )
{
Reference < XInterface > xI = xMSF->createInstance(
- OUString::createFromAscii(
- "com.sun.star.i18n.Transliteration"));
+ OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.i18n.Transliteration")));
if ( xI.is() )
xI->queryInterface( ::getCppuType(
(const Reference< XExtendedTransliteration >*)0))