summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/UserAdmin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/UserAdmin.cxx')
-rw-r--r--dbaccess/source/ui/dlg/UserAdmin.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/dbaccess/source/ui/dlg/UserAdmin.cxx b/dbaccess/source/ui/dlg/UserAdmin.cxx
index 65febc17a78c..954a530c63fc 100644
--- a/dbaccess/source/ui/dlg/UserAdmin.cxx
+++ b/dbaccess/source/ui/dlg/UserAdmin.cxx
@@ -58,7 +58,7 @@ class OPasswordDialog : public ModalDialog
VclPtr<OKButton> m_pOKBtn;
DECL_LINK_TYPED( OKHdl_Impl, Button*, void );
- DECL_LINK( ModifiedHdl, Edit * );
+ DECL_LINK_TYPED( ModifiedHdl, Edit&, void );
public:
OPasswordDialog( vcl::Window* pParent,const OUString& _sUserName);
@@ -110,10 +110,9 @@ IMPL_LINK_NOARG_TYPED(OPasswordDialog, OKHdl_Impl, Button*, void)
}
}
-IMPL_LINK( OPasswordDialog, ModifiedHdl, Edit *, pEdit )
+IMPL_LINK_TYPED( OPasswordDialog, ModifiedHdl, Edit&, rEdit, void )
{
- m_pOKBtn->Enable(!pEdit->GetText().isEmpty());
- return 0;
+ m_pOKBtn->Enable(!rEdit.GetText().isEmpty());
}
// OUserAdmin