diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-18 15:19:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-19 13:05:05 +0200 |
commit | 4f526c813f8ae6a5cd73b806c182a0aa54cac26e (patch) | |
tree | db13d57f4a7513fae2f1e8e7f4629a3273ba3c16 | |
parent | a5d262df1ab83061ad545089ca7aa06f560fcd6a (diff) |
sal_Bool->bool
Change-Id: Id3896aff2f530059f8278dba967ba8d6eb50c2d5
-rw-r--r-- | sc/source/ui/inc/simpref.hxx | 14 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/simpref.cxx | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx index 5fd17517e333..09b3ead8557d 100644 --- a/sc/source/ui/inc/simpref.hxx +++ b/sc/source/ui/inc/simpref.hxx @@ -54,11 +54,11 @@ private: ScDocument* pDoc; ScRange theCurArea; - sal_Bool bCloseFlag; - sal_Bool bAutoReOpen; - sal_Bool bCloseOnButtonUp; - sal_Bool bSingleCell; - sal_Bool bMultiSelection; + bool bCloseFlag; + bool bAutoReOpen; + bool bCloseOnButtonUp; + bool bSingleCell; + bool bMultiSelection; void Init(); @@ -91,9 +91,9 @@ public: void SetUnoLinks( const Link& rDone, const Link& rAbort, const Link& rChange ); - void SetFlags( sal_Bool bSetCloseOnButtonUp, sal_Bool bSetSingleCell, sal_Bool bSetMultiSelection ); + void SetFlags( bool bSetCloseOnButtonUp, bool bSetSingleCell, bool bSetMultiSelection ); - void SetAutoReOpen(sal_Bool bFlag) {bAutoReOpen=bFlag;} + void SetAutoReOpen(bool bFlag) {bAutoReOpen=bFlag;} }; diff --git a/sc/source/ui/miscdlgs/simpref.cxx b/sc/source/ui/miscdlgs/simpref.cxx index c156e9c053d0..8f67f2eeb25b 100644 --- a/sc/source/ui/miscdlgs/simpref.cxx +++ b/sc/source/ui/miscdlgs/simpref.cxx @@ -42,7 +42,7 @@ ScSimpleRefDlg::ScSimpleRefDlg(SfxBindings* pB, SfxChildWindow* pCW, Window* pPa , pDoc ( ptrViewData->GetDocument() ), - bAutoReOpen ( sal_True ), + bAutoReOpen ( true ), bCloseOnButtonUp( false ), bSingleCell ( false ), bMultiSelection ( false ) @@ -168,7 +168,7 @@ void ScSimpleRefDlg::SetUnoLinks( const Link& rDone, const Link& rAbort, aChangeHdl = rChange; } -void ScSimpleRefDlg::SetFlags( sal_Bool bSetCloseOnButtonUp, sal_Bool bSetSingleCell, sal_Bool bSetMultiSelection ) +void ScSimpleRefDlg::SetFlags( bool bSetCloseOnButtonUp, bool bSetSingleCell, bool bSetMultiSelection ) { bCloseOnButtonUp = bSetCloseOnButtonUp; bSingleCell = bSetSingleCell; @@ -184,7 +184,7 @@ void ScSimpleRefDlg::StartRefInput() } m_pRbAssign->DoRef(); - bCloseFlag=sal_True; + bCloseFlag = true; } void ScSimpleRefDlg::RefInputDone( bool bForced) |