diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-20 23:00:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-20 23:00:36 +0200 |
commit | e6e0098be8744c25ee065acc878d237963b80bd5 (patch) | |
tree | d2797dfd2441ef73a078e9b6181f5bcabe96fda6 | |
parent | f95d418d128aec937e16585087769afe1b16752c (diff) |
String -> OUString
Change-Id: Ied50819f226d1fa7fd7f6d004a796b5a08194a23
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index 9af04b2dc755..330b832ab2b9 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -369,8 +369,7 @@ Reference< XSpellAlternatives > // now return an empty alternative for no suggestions or the list of alternatives if some found SpellAlternatives *pAlt = new SpellAlternatives; - String aTmp(rWord); - pAlt->SetWordLanguage( aTmp, nLang ); + pAlt->SetWordLanguage( rWord, nLang ); pAlt->SetFailureType( SpellFailure::SPELLING_ERROR ); pAlt->SetAlternatives( aStr ); xRes = pAlt; |