diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-16 08:48:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-17 09:05:30 +0200 |
commit | 75be8fd665d1ded3bb71febfc81eb42a4d1b30e3 (patch) | |
tree | 0ed3f54501ac426365c04945369365341c48bc95 /lingucomponent | |
parent | 5579f143039d001d903944e08326f13093494245 (diff) |
convert LINGUCOMPONENT module from String to OUString
Change-Id: I1a47545127885f92e9fcdbf855ca60fbbef1395d
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/lingutil/lingutil.cxx | 4 | ||||
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
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; } |