diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-12-15 12:14:02 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-12-15 12:14:02 +0000 |
commit | e5053ca7d00037add17ceb85ea531666fca9af01 (patch) | |
tree | 86b6fe53b114cbd443de83a85b69c0491beb3cbf /svx | |
parent | bd14d6bc197144d99ab8339f7d018d2a4678f610 (diff) |
CWS-TOOLING: integrate CWS ooo301gsl3_DEV300
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/SpellDialog.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/dialog/SpellDialog.cxx b/svx/source/dialog/SpellDialog.cxx index a68e5360a6a4..cb33295aa465 100644 --- a/svx/source/dialog/SpellDialog.cxx +++ b/svx/source/dialog/SpellDialog.cxx @@ -260,7 +260,6 @@ SpellDialog::SpellDialog( nOldLang ( LANGUAGE_NONE ) { FreeResource(); - xSpell = LinguMgr::GetSpellChecker(); pImpl = new SpellDialog_Impl; @@ -373,7 +372,10 @@ void SpellDialog::UpdateBoxes_Impl() { String aTmp( pNewWords[i] ); if ( LISTBOX_ENTRY_NOTFOUND == aSuggestionLB.GetEntryPos( aTmp ) ) + { aSuggestionLB.InsertEntry( aTmp ); + aSuggestionLB.SetEntryFlags(aSuggestionLB.GetEntryCount() - 1, LISTBOX_ENTRY_FLAG_MULTILINE); + } } if(!nSize) aSuggestionLB.InsertEntry( aNoSuggestionsST ); |