diff options
Diffstat (limited to 'cui/source/options/optdict.cxx')
-rw-r--r-- | cui/source/options/optdict.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx index f87619eb3b44..33534bc2eba7 100644 --- a/cui/source/options/optdict.cxx +++ b/cui/source/options/optdict.cxx @@ -276,8 +276,7 @@ SvxEditDictionaryDialog::SvxEditDictionaryDialog( Reference< XDictionary > xDic( pDic[i], UNO_QUERY ); if (xDic.is()) { - sal_Bool bNegative = xDic->getDictionaryType() == DictionaryType_NEGATIVE ? - sal_True : sal_False; + bool bNegative = xDic->getDictionaryType() == DictionaryType_NEGATIVE; String aDicName( xDic->getName() ); const String aTxt( ::GetDicInfoStr( aDicName, LanguageTag( xDic->getLocale() ).getLanguageType(), bNegative ) ); @@ -455,7 +454,7 @@ IMPL_LINK_NOARG(SvxEditDictionaryDialog, SelectLangHdl_Impl) if ( aBox.Execute() == RET_YES ) { xDic->setLocale( LanguageTag( nLang ).getLocale() ); - sal_Bool bNegativ = xDic->getDictionaryType() == DictionaryType_NEGATIVE; + bool bNegativ = xDic->getDictionaryType() == DictionaryType_NEGATIVE; const String sName( ::GetDicInfoStr( xDic->getName(), |