From 75be8fd665d1ded3bb71febfc81eb42a4d1b30e3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 16 Sep 2013 08:48:36 +0200 Subject: convert LINGUCOMPONENT module from String to OUString Change-Id: I1a47545127885f92e9fcdbf855ca60fbbef1395d --- lingucomponent/source/lingutil/lingutil.cxx | 4 ++-- lingucomponent/source/spellcheck/spell/sspellimp.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lingucomponent') diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx index 5543a66a9dc7..70f10ccf4aa2 100644 --- a/lingucomponent/source/lingutil/lingutil.cxx +++ b/lingucomponent/source/lingutil/lingutil.cxx @@ -83,7 +83,7 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy return aRes; OUString aFormatName; - String aDicExtension; + OUString aDicExtension; #ifdef SYSTEM_DICTS OUString aSystemDir; OUString aSystemPrefix; @@ -120,7 +120,7 @@ std::vector< SvtLinguConfigDictionaryEntry > GetOldStyleDics( const char *pDicTy } - if (aFormatName.isEmpty() || aDicExtension.Len() == 0) + if (aFormatName.isEmpty() || aDicExtension.isEmpty()) return aRes; #ifdef SYSTEM_DICTS diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index 1acdf0dbc6a5..9d487756070b 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -483,7 +483,7 @@ Reference< XSpellAlternatives > } // now return an empty alternative for no suggestions or the list of alternatives if some found - String aTmp(rWord); + OUString aTmp(rWord); xRes = SpellAlternatives::CreateSpellAlternatives( aTmp, nLang, SpellFailure::SPELLING_ERROR, aStr ); return xRes; } -- cgit