diff options
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; } |