summaryrefslogtreecommitdiff
path: root/lingucomponent/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-20 23:00:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-20 23:00:36 +0200
commite6e0098be8744c25ee065acc878d237963b80bd5 (patch)
treed2797dfd2441ef73a078e9b6181f5bcabe96fda6 /lingucomponent/source
parentf95d418d128aec937e16585087769afe1b16752c (diff)
String -> OUString
Change-Id: Ied50819f226d1fa7fd7f6d004a796b5a08194a23
Diffstat (limited to 'lingucomponent/source')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.mm3
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;