diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-31 14:35:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-01 07:38:08 +0200 |
commit | cb66ea3604ea441ddd03df706bb30e6063fb9a52 (patch) | |
tree | 6bda45549881a9456da3141f832f63378d7b4b35 /cui | |
parent | 95d7ebd22dd20da5a7a26000494b553944fc23ee (diff) |
linguistic: sal_Bool->bool
Change-Id: Ie2366b25a1f81a5b25142e8b9a727bcc2f585c14
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 6 | ||||
-rw-r--r-- | cui/source/options/optdict.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index dda350523873..26b5909d5779 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -586,7 +586,7 @@ IMPL_LINK_NOARG(SpellDialog, ChangeAllHdl) SvxPrepareAutoCorrect( aOldWord, aString ); Reference<XDictionary> aXDictionary( SvxGetChangeAllList(), UNO_QUERY ); sal_uInt8 nAdded = linguistic::AddEntryToDic( aXDictionary, - aOldWord , sal_True, + aOldWord, true, aString, eLang ); if(nAdded == DIC_ERR_NONE) @@ -635,7 +635,7 @@ IMPL_LINK( SpellDialog, IgnoreAllHdl, Button *, pButton ) { OUString sErrorText(m_pSentenceED->GetErrorText()); sal_uInt8 nAdded = linguistic::AddEntryToDic( aXDictionary, - sErrorText, sal_False, + sErrorText, false, OUString(), LANGUAGE_NONE ); if(nAdded == DIC_ERR_NONE) { @@ -917,7 +917,7 @@ int SpellDialog::AddToDictionaryExecute( sal_uInt16 nItemId, PopupMenu *pMenu ) sal_Int16 nAddRes = DIC_ERR_UNKNOWN; if (xDic.is()) { - nAddRes = linguistic::AddEntryToDic( xDic, aNewWord, sal_False, OUString(), LANGUAGE_NONE ); + nAddRes = linguistic::AddEntryToDic( xDic, aNewWord, false, OUString(), LANGUAGE_NONE ); // save modified user-dictionary if it is persistent uno::Reference< frame::XStorable > xSavDic( xDic, uno::UNO_QUERY ); if (xSavDic.is()) diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx index 6a060430121d..189a5114c02e 100644 --- a/cui/source/options/optdict.cxx +++ b/cui/source/options/optdict.cxx @@ -621,7 +621,7 @@ IMPL_LINK(SvxEditDictionaryDialog, NewDelHdl, PushButton*, pBtn) nAddRes = linguistic::AddEntryToDic( xDic, aNewWord, bIsNegEntry, - aRplcText, LanguageTag( xDic->getLocale() ).getLanguageType(), sal_False ); + aRplcText, LanguageTag( xDic->getLocale() ).getLanguageType(), false ); } } if (DIC_ERR_NONE != nAddRes) |