summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/SpellDialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/SpellDialog.cxx')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 21d83096c10e..4c72cf25acdf 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -639,8 +639,8 @@ IMPL_LINK_TYPED( SpellDialog, IgnoreAllHdl, Button *, pButton, void )
pSpellErrorDescription->xGrammarChecker->ignoreRule( pSpellErrorDescription->sRuleId,
pSpellErrorDescription->aLocale );
// refresh the layout (workaround to launch a dictionary event)
- aXDictionary->setActive(sal_False);
- aXDictionary->setActive(sal_True);
+ aXDictionary->setActive(false);
+ aXDictionary->setActive(true);
}
}
catch( const uno::Exception& )
@@ -829,7 +829,7 @@ int SpellDialog::InitUserDicts()
// words could be added.
Reference< XDictionary > xDic( SvxGetOrCreatePosDic( xDicList ) );
if (xDic.is())
- xDic->setActive( sal_True );
+ xDic->setActive( true );
pImpl->aDics = xDicList->getDictionaries();
}