diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-24 15:42:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-25 14:32:56 +0200 |
commit | 436cd900956b5fd0b6583954c002f8c28ca32698 (patch) | |
tree | 00bf0fb7c6daa0041670ce5209e5912780520a66 /cui/source/customize/cfgutil.cxx | |
parent | c849d750eb751d3f2b99d23cca1c8c08672ff379 (diff) |
svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
Diffstat (limited to 'cui/source/customize/cfgutil.cxx')
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index a4cec40fb6e3..f1ffaa1ef67a 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -564,7 +564,7 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent const OUString& sModuleLongName, bool bEventMode) { - SetUpdateMode(sal_False); + SetUpdateMode(false); ClearAll(); // Remove all old entries from treelist box m_xFrame = xFrame; @@ -728,8 +728,9 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent } MakeVisible( GetEntry( 0,0 ) ); - SetUpdateMode( sal_True ); + SetUpdateMode( true ); } + Image SfxConfigGroupListBox::GetImage( Reference< browse::XBrowseNode > node, Reference< XComponentContext > xCtx, @@ -860,13 +861,13 @@ void SfxConfigGroupListBox::GroupSelected() { SvTreeListEntry *pEntry = FirstSelected(); SfxGroupInfo_Impl *pInfo = (SfxGroupInfo_Impl*) pEntry->GetUserData(); - pFunctionListBox->SetUpdateMode(sal_False); + pFunctionListBox->SetUpdateMode(false); pFunctionListBox->ClearAll(); if ( pInfo->nKind != SFX_CFGGROUP_FUNCTION && pInfo->nKind != SFX_CFGGROUP_SCRIPTCONTAINER && pInfo->nKind != SFX_CFGGROUP_STYLES ) { - pFunctionListBox->SetUpdateMode(sal_True); + pFunctionListBox->SetUpdateMode(true); return; } @@ -979,7 +980,7 @@ void SfxConfigGroupListBox::GroupSelected() if ( pFunctionListBox->GetEntryCount() ) pFunctionListBox->Select( pFunctionListBox->GetEntry( 0, 0 ) ); - pFunctionListBox->SetUpdateMode(sal_True); + pFunctionListBox->SetUpdateMode(true); } sal_Bool SfxConfigGroupListBox::Expand( SvTreeListEntry* pParent ) @@ -993,7 +994,7 @@ sal_Bool SfxConfigGroupListBox::Expand( SvTreeListEntry* pParent ) if ( nChildCount+1 > nEntries ) { - MakeVisible( pParent, sal_True ); + MakeVisible( pParent, true ); } else { |