diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:59:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:19 +0100 |
commit | 6f9976db93df59231dbe8d2bca66f166d6ec0ab3 (patch) | |
tree | 980098bbcd5d8c20cc839a24f181953f7715a108 /uui | |
parent | 2cfe889453609236e49b64054465f9f93901dd60 (diff) |
bool improvements
Change-Id: I266d7ce86a30cedd1ae388a69b87f1b43d96e00c
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/fltdlg.cxx | 2 | ||||
-rw-r--r-- | uui/source/logindlg.cxx | 6 | ||||
-rw-r--r-- | uui/source/masterpasscrtdlg.cxx | 2 | ||||
-rw-r--r-- | uui/source/passworddlg.cxx | 8 |
4 files changed, 9 insertions, 9 deletions
diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx index 1ed903925b0b..214c586912f0 100644 --- a/uui/source/fltdlg.cxx +++ b/uui/source/fltdlg.cxx @@ -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 ) { diff --git a/uui/source/logindlg.cxx b/uui/source/logindlg.cxx index 3775cc454dcd..dfb061c7142c 100644 --- a/uui/source/logindlg.cxx +++ b/uui/source/logindlg.cxx @@ -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 ) diff --git a/uui/source/masterpasscrtdlg.cxx b/uui/source/masterpasscrtdlg.cxx index 792147694c57..e69f0da9b8da 100644 --- a/uui/source/masterpasscrtdlg.cxx +++ b/uui/source/masterpasscrtdlg.cxx @@ -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 ) ); } diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx index 74b12981e7dd..d80fe6a2990a 100644 --- a/uui/source/passworddlg.cxx +++ b/uui/source/passworddlg.cxx @@ -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 { |