diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/ConnectionPage.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/ConnectionPage.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/ConnectionPage.cxx b/dbaccess/source/ui/dlg/ConnectionPage.cxx index b9c8fba68944..5d79776b5cca 100644 --- a/dbaccess/source/ui/dlg/ConnectionPage.cxx +++ b/dbaccess/source/ui/dlg/ConnectionPage.cxx @@ -104,7 +104,7 @@ namespace dbaui m_pJavaDriver->SetModifyHdl(getControlModifiedLink()); m_pJavaDriver->SetModifyHdl(LINK(this, OConnectionTabPage, OnEditModified)); m_pUserName->SetModifyHdl(getControlModifiedLink()); - m_pPasswordRequired->SetClickHdl(getControlModifiedLink()); + m_pPasswordRequired->SetClickHdl(getControlModifiedClickLink()); m_pTestConnection->SetClickHdl(LINK(this,OGenericAdministrationPage,OnTestConnectionClickHdl)); m_pTestJavaDriver->SetClickHdl(LINK(this,OConnectionTabPage,OnTestJavaClickHdl)); @@ -288,7 +288,7 @@ namespace dbaui return bChangedSomething; } - IMPL_LINK(OConnectionTabPage, OnTestJavaClickHdl, PushButton*, /*_pButton*/) + IMPL_LINK_NOARG_TYPED(OConnectionTabPage, OnTestJavaClickHdl, Button*, void) { OSL_ENSURE(m_pAdminDialog,"No Admin dialog set! ->GPF"); bool bSuccess = false; @@ -311,7 +311,6 @@ namespace dbaui const OSQLMessageBox::MessageType mt = bSuccess ? OSQLMessageBox::Info : OSQLMessageBox::Error; ScopedVclPtrInstance< OSQLMessageBox > aMsg( this, OUString( ModuleRes( nMessage ) ), OUString(), WB_OK | WB_DEF_OK, mt ); aMsg->Execute(); - return 0L; } bool OConnectionTabPage::checkTestConnection() { |