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/source/ui/dbgui | |
parent | 76a38b85507dcf80733bcec878623d7348f53845 (diff) |
sal_Bool->bool
Change-Id: I3afc6103e210316cb5c6dc4242c69b0ac47259be
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r-- | sc/source/ui/dbgui/validate.cxx | 8 |
1 files changed, 4 insertions, 4 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; } |