summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/inc/simpref.hxx14
-rw-r--r--sc/source/ui/miscdlgs/simpref.cxx6
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)