bool improvements

Change-Id: I266d7ce86a30cedd1ae388a69b87f1b43d96e00c
This commit is contained in:
Stephan Bergmann 2014-01-28 19:59:28 +01:00
parent 2cfe889453
commit 6f9976db93
4 changed files with 9 additions and 9 deletions

View File

@ -136,7 +136,7 @@ void FilterDialog::ChangeFilters( const FilterNameList* pFilterNames )
*//*-*************************************************************************************************************/
bool FilterDialog::AskForFilter( FilterNameListPtr& pSelectedItem )
{
bool bSelected = sal_False;
bool bSelected = false;
if( m_pFilterNames != NULL )
{

View File

@ -46,8 +46,8 @@ void LoginDialog::HideControls_Impl( sal_uInt16 nFlags )
}
else if ( ( nFlags & LF_PATH_READONLY ) == LF_PATH_READONLY )
{
m_pPathED->Enable( sal_False );
m_pPathBtn->Enable( sal_False );
m_pPathED->Enable( false );
m_pPathBtn->Enable( false );
}
if ( ( nFlags & LF_NO_USERNAME ) == LF_NO_USERNAME )
@ -57,7 +57,7 @@ void LoginDialog::HideControls_Impl( sal_uInt16 nFlags )
}
else if ( ( nFlags & LF_USERNAME_READONLY ) == LF_USERNAME_READONLY )
{
m_pNameED->Enable( sal_False );
m_pNameED->Enable( false );
}
if ( ( nFlags & LF_NO_PASSWORD ) == LF_NO_PASSWORD )

View File

@ -62,7 +62,7 @@ MasterPasswordCreateDialog::MasterPasswordCreateDialog(Window* pParent, ResMgr*
get(m_pEDMasterPasswordCrt, "password1");
get(m_pEDMasterPasswordRepeat, "password2");
get(m_pOKBtn, "ok");
m_pOKBtn->Enable( sal_False );
m_pOKBtn->Enable( false );
m_pOKBtn->SetClickHdl( LINK( this, MasterPasswordCreateDialog, OKHdl_Impl ) );
m_pEDMasterPasswordCrt->SetModifyHdl( LINK( this, MasterPasswordCreateDialog, EditHdl_Impl ) );
}

View File

@ -73,8 +73,8 @@ PasswordDialog::PasswordDialog(
OUString aTitle(ResId(STR_TITLE_ENTER_PASSWORD, *pResourceMgr).toString());
aFTConfirmPassword.Hide();
aEDConfirmPassword.Hide();
aFTConfirmPassword.Enable( sal_False );
aEDConfirmPassword.Enable( sal_False );
aFTConfirmPassword.Enable( false );
aEDConfirmPassword.Enable( false );
// settings for create password
if (nDialogMode == task::PasswordRequestMode_PASSWORD_CREATE)
@ -85,8 +85,8 @@ PasswordDialog::PasswordDialog(
aFTConfirmPassword.Show();
aEDConfirmPassword.Show();
aFTConfirmPassword.Enable( sal_True );
aEDConfirmPassword.Enable( sal_True );
aFTConfirmPassword.Enable( true );
aEDConfirmPassword.Enable( true );
}
else
{