summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-14 14:55:15 +0200
committerNoel Grandin <noel@peralex.com>2014-02-18 10:07:54 +0200
commit9d9de0ce0cd3717def37c7e520e14195bc6d1782 (patch)
treeca0d33150a2a7739abf0c4e9c9ff0a4e5bca36ab
parenta2f61558cba97eb8a0e65ca7bdc4cf9e0e28469e (diff)
sal_Bool->bool
Change-Id: I4201103c7fd3278c64fbc87456177e3637620fe1
-rw-r--r--sc/source/ui/inc/crnrdlg.hxx8
-rw-r--r--sc/source/ui/miscdlgs/crnrdlg.cxx10
2 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/inc/crnrdlg.hxx b/sc/source/ui/inc/crnrdlg.hxx
index 71f50e397e3c..cc606fbfba30 100644
--- a/sc/source/ui/inc/crnrdlg.hxx
+++ b/sc/source/ui/inc/crnrdlg.hxx
@@ -72,15 +72,15 @@ private:
ScViewData* pViewData;
ScDocument* pDoc;
formula::RefEdit* pEdActive;
- sal_Bool bDlgLostFocus;
+ bool bDlgLostFocus;
#ifdef _CRNRDLG_CXX
private:
void Init ();
void UpdateNames ();
- void UpdateRangeData ( const ScRange& rRange, sal_Bool bColName );
- void SetColRowData( const ScRange& rLabelRange,sal_Bool bRef=false);
- void AdjustColRowData( const ScRange& rDataRange,sal_Bool bRef=false);
+ void UpdateRangeData ( const ScRange& rRange, bool bColName );
+ void SetColRowData( const ScRange& rLabelRange, bool bRef=false);
+ void AdjustColRowData( const ScRange& rDataRange, bool bRef=false);
DECL_LINK( CancelBtnHdl, void * );
DECL_LINK( OkBtnHdl, void * );
DECL_LINK( AddBtnHdl, void * );
diff --git a/sc/source/ui/miscdlgs/crnrdlg.cxx b/sc/source/ui/miscdlgs/crnrdlg.cxx
index 8488b6e60da3..f1c7b7509695 100644
--- a/sc/source/ui/miscdlgs/crnrdlg.cxx
+++ b/sc/source/ui/miscdlgs/crnrdlg.cxx
@@ -212,7 +212,7 @@ void ScColRowNameRangesDlg::Init()
#*
#************************************************************************/
-void ScColRowNameRangesDlg::SetColRowData( const ScRange& rLabelRange,sal_Bool bRef)
+void ScColRowNameRangesDlg::SetColRowData( const ScRange& rLabelRange, bool bRef)
{
theCurData = theCurArea = rLabelRange;
sal_Bool bValid = sal_True;
@@ -311,7 +311,7 @@ void ScColRowNameRangesDlg::SetColRowData( const ScRange& rLabelRange,sal_Bool b
#*
#************************************************************************/
-void ScColRowNameRangesDlg::AdjustColRowData( const ScRange& rDataRange,sal_Bool bRef)
+void ScColRowNameRangesDlg::AdjustColRowData( const ScRange& rDataRange, bool bRef)
{
theCurData = rDataRange;
if ( pBtnColHead->IsChecked() )
@@ -396,9 +396,9 @@ void ScColRowNameRangesDlg::SetReference( const ScRange& rRef, ScDocument* /* pD
RefInputStart( pEdActive );
if ( pEdActive == pEdAssign )
- SetColRowData( rRef, sal_True );
+ SetColRowData( rRef, true );
else
- AdjustColRowData( rRef, sal_True );
+ AdjustColRowData( rRef, true );
pBtnColHead->Enable();
pBtnRowHead->Enable();
pBtnAdd->Enable();
@@ -611,7 +611,7 @@ void ScColRowNameRangesDlg::UpdateNames()
#*
#************************************************************************/
-void ScColRowNameRangesDlg::UpdateRangeData( const ScRange& rRange, sal_Bool bColName )
+void ScColRowNameRangesDlg::UpdateRangeData( const ScRange& rRange, bool bColName )
{
ScRangePair* pPair = NULL;
sal_Bool bFound = false;