summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-12-15 12:14:02 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-12-15 12:14:02 +0000
commite5053ca7d00037add17ceb85ea531666fca9af01 (patch)
tree86b6fe53b114cbd443de83a85b69c0491beb3cbf /svx
parentbd14d6bc197144d99ab8339f7d018d2a4678f610 (diff)
CWS-TOOLING: integrate CWS ooo301gsl3_DEV300
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/SpellDialog.cxx4
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 );