summaryrefslogtreecommitdiff
path: root/formula/source/ui/dlg/structpg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-22 11:21:29 +0200
committerNoel Grandin <noel@peralex.com>2014-04-23 11:10:08 +0200
commit32efd885e5a36f3146f6f7d7b6cd6f2f5531e920 (patch)
treecd217776ed8bb7a2396a2f767f9cf59ddab1ba26 /formula/source/ui/dlg/structpg.cxx
parent206e224fa78795f8e8f9a6a0362dbc973ec81386 (diff)
formula: sal_Bool->bool
Change-Id: I3280b4d4b02e6a6fa22bc250e56a3c6ae77fc675
Diffstat (limited to 'formula/source/ui/dlg/structpg.cxx')
-rw-r--r--formula/source/ui/dlg/structpg.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/formula/source/ui/dlg/structpg.cxx b/formula/source/ui/dlg/structpg.cxx
index 559c9d004bf8..d3e02709612b 100644
--- a/formula/source/ui/dlg/structpg.cxx
+++ b/formula/source/ui/dlg/structpg.cxx
@@ -35,7 +35,7 @@ namespace formula
StructListBox::StructListBox(Window* pParent, const ResId& rResId ):
SvTreeListBox(pParent,rResId )
{
- bActiveFlag=sal_False;
+ bActiveFlag=false;
Font aFont( GetFont() );
Size aSize = aFont.GetSize();
@@ -53,31 +53,31 @@ SvTreeListEntry* StructListBox::InsertStaticEntry(
return pEntry;
}
-void StructListBox::SetActiveFlag(sal_Bool bFlag)
+void StructListBox::SetActiveFlag(bool bFlag)
{
bActiveFlag=bFlag;
}
-sal_Bool StructListBox::GetActiveFlag()
+bool StructListBox::GetActiveFlag()
{
return bActiveFlag;
}
void StructListBox::MouseButtonDown( const MouseEvent& rMEvt )
{
- bActiveFlag=sal_True;
+ bActiveFlag=true;
SvTreeListBox::MouseButtonDown(rMEvt);
}
void StructListBox::GetFocus()
{
- bActiveFlag=sal_True;
+ bActiveFlag=true;
SvTreeListBox::GetFocus();
}
void StructListBox::LoseFocus()
{
- bActiveFlag=sal_False;
+ bActiveFlag=false;
SvTreeListBox::LoseFocus();
}
@@ -105,14 +105,14 @@ StructPage::StructPage(Window* pParent):
void StructPage::ClearStruct()
{
- aTlbStruct.SetActiveFlag(sal_False);
+ aTlbStruct.SetActiveFlag(false);
aTlbStruct.Clear();
}
SvTreeListEntry* StructPage::InsertEntry( const OUString& rText, SvTreeListEntry* pParent,
sal_uInt16 nFlag,sal_uLong nPos,IFormulaToken* pIFormulaToken)
{
- aTlbStruct.SetActiveFlag( sal_False );
+ aTlbStruct.SetActiveFlag( false );
SvTreeListEntry* pEntry = NULL;
switch( nFlag )