sc/inc/scmod.hxx | 2 +- sc/source/filter/excel/impop.cxx | 2 +- sc/source/ui/app/scmod.cxx | 4 ++-- sc/source/ui/app/scmod2.cxx | 2 +- sc/source/ui/docshell/docsh3.cxx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit f39cf7f5b2f8a6a29341b0050c392a02f83e56ce Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Feb 10 14:08:54 2014 +0100 loplugin:implicitboolconversion, loplugin:literaltoboolconversion Change-Id: I5cd55c9e65a4ac431642ba33da9daf0e2f6a194c diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx index a90a0b3..cedc0ef 100644 --- a/sc/inc/scmod.hxx +++ b/sc/inc/scmod.hxx @@ -182,7 +182,7 @@ SC_DLLPUBLIC void SetAppOptions ( const ScAppOptions& rO void RecentFunctionsChanged(); static void GetSpellSettings( sal_uInt16& rDefLang, sal_uInt16& rCjkLang, sal_uInt16& rCtlLang, - sal_Bool& rAutoSpell ); + bool& rAutoSpell ); static void SetAutoSpellProperty( sal_Bool bSet ); static sal_Bool HasThesaurusLanguage( sal_uInt16 nLang ); diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx index c2f22d8..ff0e7aa 100644 --- a/sc/source/filter/excel/impop.cxx +++ b/sc/source/filter/excel/impop.cxx @@ -148,7 +148,7 @@ ImportExcel::ImportExcel( XclImpRootData& rImpData, SvStream& rStrm ): pD->GetFormatTable()->ChangeNullDate( 30, 12, 1899 ); ScDocOptions aDocOpt( pD->GetDocOptions() ); - aDocOpt.SetIgnoreCase( sal_True ); // always in Excel + aDocOpt.SetIgnoreCase( true ); // always in Excel aDocOpt.SetFormulaRegexEnabled( false ); // regular expressions? what's that? aDocOpt.SetLookUpColRowNames( false ); // default: no natural language refs pD->SetDocOptions( aDocOpt ); diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 13b7a65..41dde36 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -979,7 +979,7 @@ sal_uInt16 ScModule::GetOptDigitLanguage() void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) { sal_uInt16 nOldSpellLang, nOldCjkLang, nOldCtlLang; - sal_Bool bOldAutoSpell; + bool bOldAutoSpell; GetSpellSettings( nOldSpellLang, nOldCjkLang, nOldCtlLang, bOldAutoSpell ); if (!pAppCfg) @@ -1206,7 +1206,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) if ( rOptSet.HasItem(SID_AUTOSPELL_CHECK,&pItem) ) // an Doc-Options { - sal_Bool bDoAutoSpell = ((const SfxBoolItem*)pItem)->GetValue(); + bool bDoAutoSpell = ((const SfxBoolItem*)pItem)->GetValue(); if (pDoc) { diff --git a/sc/source/ui/app/scmod2.cxx b/sc/source/ui/app/scmod2.cxx index be7eccd..962cbdd 100644 --- a/sc/source/ui/app/scmod2.cxx +++ b/sc/source/ui/app/scmod2.cxx @@ -36,7 +36,7 @@ using namespace com::sun::star; //------------------------------------------------------------------ void ScModule::GetSpellSettings( sal_uInt16& rDefLang, sal_uInt16& rCjkLang, sal_uInt16& rCtlLang, - sal_Bool& rAutoSpell ) + bool& rAutoSpell ) { // use SvtLinguConfig instead of service LinguProperties to avoid // loading the linguistic component diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index ccccd74..0a18ba8 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -410,7 +410,7 @@ void ScDocShell::InitOptions(bool bForLoading) // called from InitNew and L // Einstellungen aus dem SpellCheckCfg kommen in Doc- und ViewOptions sal_uInt16 nDefLang, nCjkLang, nCtlLang; - sal_Bool bAutoSpell; + bool bAutoSpell; ScModule::GetSpellSettings( nDefLang, nCjkLang, nCtlLang, bAutoSpell ); ScModule* pScMod = SC_MOD(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits