diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-19 12:07:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-19 13:05:12 +0200 |
commit | 78efd44998c5b77ed1697c35a02a96b76657c620 (patch) | |
tree | 19319383c88d122932d0134d41d1337b002f0ffb /sc | |
parent | 76a38b85507dcf80733bcec878623d7348f53845 (diff) |
sal_Bool->bool
Change-Id: I3afc6103e210316cb5c6dc4242c69b0ac47259be
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/validate.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/inc/validate.hxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx index 1d309c3b9d5c..ce1f6f73d4a9 100644 --- a/sc/source/ui/dbgui/validate.cxx +++ b/sc/source/ui/dbgui/validate.cxx @@ -930,7 +930,7 @@ bool ScValidationDlg::SetupRefDlg() return false; } -bool ScValidationDlg::RemoveRefDlg( sal_Bool bRestoreModal /* = sal_True */ ) +bool ScValidationDlg::RemoveRefDlg( bool bRestoreModal /* = true */ ) { bool bVisLock = false; bool bFreeWindowLock = false; @@ -951,7 +951,7 @@ bool ScValidationDlg::RemoveRefDlg( sal_Bool bRestoreModal /* = sal_True */ ) m_bOwnRefHdlr = false; if( bRestoreModal ) - SetModal( sal_True ); + SetModal( true ); } if ( SfxChildWindow* pWnd = pTabVwSh->GetViewFrame()->GetChildWindow( SID_VALIDITY_REFERENCE ) ) @@ -977,12 +977,12 @@ void ScTPValidationValue::OnClick( Button *pBtn ) SetupRefDlg(); } -sal_Bool ScValidationDlg::IsChildFocus() +bool ScValidationDlg::IsChildFocus() { if ( const Window *pWin = Application::GetFocusWindow() ) while( NULL != ( pWin = pWin->GetParent() ) ) if( pWin == this ) - return sal_True; + return true; return false; } diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index 5c3094cb2dc9..eed488399c41 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -111,9 +111,9 @@ public: } bool SetupRefDlg(); - bool RemoveRefDlg( sal_Bool bRestoreModal = sal_True ); + bool RemoveRefDlg( bool bRestoreModal = true ); - virtual void SetModal( sal_Bool bModal ){ ScValidationDlgBase::SetModalInputMode( bModal ); } + virtual void SetModal( bool bModal ){ ScValidationDlgBase::SetModalInputMode( bModal ); } virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) { @@ -168,7 +168,7 @@ public: (m_pHandler->*m_pRefInputDonePostHdl)(); } - sal_Bool IsChildFocus(); + bool IsChildFocus(); enum { SLOTID = SID_VALIDITY_REFERENCE }; |