[Libreoffice-commits] core.git: lingucomponent/source
Stephan Bergmann
sbergman at redhat.com
Sun Oct 20 14:00:58 PDT 2013
lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit e6e0098be8744c25ee065acc878d237963b80bd5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sun Oct 20 23:00:36 2013 +0200
String -> OUString
Change-Id: Ied50819f226d1fa7fd7f6d004a796b5a08194a23
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
index 9af04b2..330b832 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;
More information about the Libreoffice-commits
mailing list