summaryrefslogtreecommitdiff
path: root/sc/source/ui/cctrl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-14 14:43:23 +0200
committerNoel Grandin <noel@peralex.com>2014-02-18 10:07:53 +0200
commitfd1bee287f12c4ee425fa1ee4582826ce3eb7fe5 (patch)
tree4b42fbcaf69c40e7155920a91762bf8a1b0e29f5 /sc/source/ui/cctrl
parent73aee35ee058940923dc3d96558a0505fcefb169 (diff)
sal_Bool->bool
Change-Id: I6fde53a51984e965a873d497c5ea3aeb6e852b88
Diffstat (limited to 'sc/source/ui/cctrl')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 2ebf0cb4ea37..e0556363a51f 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1364,15 +1364,15 @@ void ScCheckListBox::Init()
SetNodeDefaultImages();
}
-sal_Bool ScCheckListBox::IsChecked( OUString& sName, SvTreeListEntry* pParent )
+bool ScCheckListBox::IsChecked( OUString& sName, SvTreeListEntry* pParent )
{
SvTreeListEntry* pEntry = FindEntry( pParent, sName );
if ( pEntry && GetCheckButtonState( pEntry ) == SV_BUTTON_CHECKED)
- return sal_True;
- return sal_False;
+ return true;
+ return false;
}
-void ScCheckListBox::CheckEntry( OUString& sName, SvTreeListEntry* pParent, sal_Bool bCheck )
+void ScCheckListBox::CheckEntry( OUString& sName, SvTreeListEntry* pParent, bool bCheck )
{
SvTreeListEntry* pEntry = FindEntry( pParent, sName );
if ( pEntry )
@@ -1380,7 +1380,7 @@ void ScCheckListBox::CheckEntry( OUString& sName, SvTreeListEntry* pParent, sal_
}
// Recursively check all children of pParent
-void ScCheckListBox::CheckAllChildren( SvTreeListEntry* pParent, sal_Bool bCheck )
+void ScCheckListBox::CheckAllChildren( SvTreeListEntry* pParent, bool bCheck )
{
if ( pParent )
{
@@ -1396,7 +1396,7 @@ void ScCheckListBox::CheckAllChildren( SvTreeListEntry* pParent, sal_Bool bCheck
}
}
-void ScCheckListBox::CheckEntry( SvTreeListEntry* pParent, sal_Bool bCheck )
+void ScCheckListBox::CheckEntry( SvTreeListEntry* pParent, bool bCheck )
{
// recursively check all items below pParent
CheckAllChildren( pParent, bCheck );