summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:52:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:52:03 +0200
commitf2937f2a6f0355005875e1e6409a09b28193b448 (patch)
treefea6f0f0a610d40bb8b89b897df4c3bce73b021e /uui
parentca49ea419c5943bd830abd736c4acb239cc1f4bc (diff)
loplugin:defaultparams
Change-Id: I60a8925c8f349e12415bda3fa7e5f2d5103234a1
Diffstat (limited to 'uui')
-rw-r--r--uui/source/authfallbackdlg.cxx2
-rw-r--r--uui/source/passworddlg.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/authfallbackdlg.cxx b/uui/source/authfallbackdlg.cxx
index 3acbc2ffcbe3..70ed1e7396d9 100644
--- a/uui/source/authfallbackdlg.cxx
+++ b/uui/source/authfallbackdlg.cxx
@@ -26,7 +26,7 @@ AuthFallbackDlg::AuthFallbackDlg(Window* pParent, const OUString& instructions,
m_pBTOk->SetClickHdl( LINK( this, AuthFallbackDlg, OKHdl) );
m_pBTCancel->SetClickHdl( LINK( this, AuthFallbackDlg, CancelHdl) );
- m_pBTOk->Enable( true );
+ m_pBTOk->Enable();
m_pTVInstructions->SetText( instructions );
m_pEDUrl->SetText( url );
diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx
index c993ac201871..3485a3cbf3b4 100644
--- a/uui/source/passworddlg.cxx
+++ b/uui/source/passworddlg.cxx
@@ -64,8 +64,8 @@ PasswordDialog::PasswordDialog(vcl::Window* _pParent,
m_pFTConfirmPassword->Show();
m_pEDConfirmPassword->Show();
- m_pFTConfirmPassword->Enable( true );
- m_pEDConfirmPassword->Enable( true );
+ m_pFTConfirmPassword->Enable();
+ m_pEDConfirmPassword->Enable();
}
SetText( aTitle );