summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-18 13:37:45 +0200
committerNoel Grandin <noel@peralex.com>2014-02-19 13:04:59 +0200
commit7aa6247e4346fca476a21f8a5cd10f3928cde896 (patch)
treef9fffda79cfa80f975c8d0929383aef10e71d07c
parent813cbee02554715db2019450da28df0c6837d1fa (diff)
sal_Bool->bool
Change-Id: I48bd586303436842165c9fa3c7b605783c8861d6
-rw-r--r--sc/source/ui/inc/navipi.hxx12
-rw-r--r--sc/source/ui/navipi/navipi.cxx12
2 files changed, 12 insertions, 12 deletions
diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx
index 6aacd2c8e48a..43135b09fba1 100644
--- a/sc/source/ui/inc/navipi.hxx
+++ b/sc/source/ui/inc/navipi.hxx
@@ -262,11 +262,11 @@ private:
long nListModeHeight;
long nInitListHeight;
NavListMode eListMode;
- sal_uInt16 nDropMode;
+ sal_uInt16 nDropMode;
SCCOL nCurCol;
SCROW nCurRow;
SCTAB nCurTab;
- sal_Bool bFirstBig;
+ bool bFirstBig;
bool mbUseStyleSettingsBackground;
ScNavigatorControllerItem** ppBoundItems;
@@ -287,7 +287,7 @@ private:
ScTabViewShell* GetTabViewShell() const;
ScNavigatorSettings* GetNavigatorSettings();
- sal_Bool GetViewData();
+ bool GetViewData();
void UpdateColumn ( const SCCOL* pCol = NULL );
void UpdateRow ( const SCROW* pRow = NULL );
@@ -296,9 +296,9 @@ private:
void GetDocNames(const OUString* pSelEntry = NULL);
- void SetListMode ( NavListMode eMode, sal_Bool bSetSize = sal_True );
- void ShowList ( sal_Bool bShow, sal_Bool bSetSize );
- void ShowScenarios ( sal_Bool bShow, sal_Bool bSetSize );
+ void SetListMode ( NavListMode eMode, bool bSetSize = true );
+ void ShowList ( bool bShow, bool bSetSize );
+ void ShowScenarios ( bool bShow, bool bSetSize );
void SetDropMode(sal_uInt16 nNew);
sal_uInt16 GetDropMode() const { return nDropMode; }
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index b6237b0532f1..f059d755aed7 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -1099,7 +1099,7 @@ ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings()
//------------------------------------------------------------------------
-sal_Bool ScNavigatorDlg::GetViewData()
+bool ScNavigatorDlg::GetViewData()
{
ScTabViewShell* pViewSh = GetTabViewShell();
pViewData = pViewSh ? pViewSh->GetViewData() : NULL;
@@ -1170,7 +1170,7 @@ void ScNavigatorDlg::UpdateAll()
//------------------------------------------------------------------------
-void ScNavigatorDlg::SetListMode( NavListMode eMode, sal_Bool bSetSize )
+void ScNavigatorDlg::SetListMode( NavListMode eMode, bool bSetSize )
{
if ( eMode != eListMode )
{
@@ -1189,11 +1189,11 @@ void ScNavigatorDlg::SetListMode( NavListMode eMode, sal_Bool bSetSize )
case NAV_LMODE_DBAREAS:
case NAV_LMODE_DOCS:
aLbEntries.Refresh();
- ShowList( sal_True, bSetSize );
+ ShowList( true, bSetSize );
break;
case NAV_LMODE_SCENARIOS:
- ShowScenarios( sal_True, bSetSize );
+ ShowScenarios( true, bSetSize );
break;
}
@@ -1212,7 +1212,7 @@ void ScNavigatorDlg::SetListMode( NavListMode eMode, sal_Bool bSetSize )
//------------------------------------------------------------------------
-void ScNavigatorDlg::ShowList( sal_Bool bShow, sal_Bool bSetSize )
+void ScNavigatorDlg::ShowList( bool bShow, bool bSetSize )
{
FloatingWindow* pFloat = pContextWin!=NULL ? pContextWin->GetFloatingWindow() : NULL;
Size aSize = GetParent()->GetOutputSizePixel();
@@ -1260,7 +1260,7 @@ void ScNavigatorDlg::ShowList( sal_Bool bShow, sal_Bool bSetSize )
//------------------------------------------------------------------------
-void ScNavigatorDlg::ShowScenarios( sal_Bool bShow, sal_Bool bSetSize )
+void ScNavigatorDlg::ShowScenarios( bool bShow, bool bSetSize )
{
FloatingWindow* pFloat = pContextWin!=NULL ? pContextWin->GetFloatingWindow() : NULL;
Size aSize = GetParent()->GetOutputSizePixel();