diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-07 16:06:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-08 08:16:48 +0200 |
commit | 2b30479d56f8084efd7032dc2475fda496cf2903 (patch) | |
tree | 2be14f0110578ad9d54efecb3cae4f745c270180 /include/svx/passwd.hxx | |
parent | 8a910d48c3a2b29894878bc725a24cc34d21f975 (diff) |
convert Link<> to typed
Change-Id: I4cbb32b6801386f0bef61f9f5c7cde7306c8b9f2
Diffstat (limited to 'include/svx/passwd.hxx')
-rw-r--r-- | include/svx/passwd.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/svx/passwd.hxx b/include/svx/passwd.hxx index 469f0db0b154..e4b1295000e7 100644 --- a/include/svx/passwd.hxx +++ b/include/svx/passwd.hxx @@ -35,17 +35,17 @@ class SVX_DLLPUBLIC SvxPasswordDialog : public SfxModalDialog private: VclPtr<FixedText> m_pOldFL; VclPtr<FixedText> m_pOldPasswdFT; - VclPtr<Edit> m_pOldPasswdED; - VclPtr<Edit> m_pNewPasswdED; - VclPtr<Edit> m_pRepeatPasswdED; - VclPtr<OKButton> m_pOKBtn; + VclPtr<Edit> m_pOldPasswdED; + VclPtr<Edit> m_pNewPasswdED; + VclPtr<Edit> m_pRepeatPasswdED; + VclPtr<OKButton> m_pOKBtn; - OUString aOldPasswdErrStr; - OUString aRepeatPasswdErrStr; + OUString aOldPasswdErrStr; + OUString aRepeatPasswdErrStr; - Link<> aCheckPasswordHdl; + Link<SvxPasswordDialog*,bool> aCheckPasswordHdl; - bool bEmpty; + bool bEmpty; DECL_LINK_TYPED(ButtonHdl, Button*, void); DECL_LINK(EditModifyHdl, void *); @@ -58,7 +58,7 @@ public: OUString GetOldPassword() const { return m_pOldPasswdED->GetText(); } OUString GetNewPassword() const { return m_pNewPasswdED->GetText(); } - void SetCheckPasswordHdl( const Link<>& rLink ) { aCheckPasswordHdl = rLink; } + void SetCheckPasswordHdl( const Link<SvxPasswordDialog*,bool>& rLink ) { aCheckPasswordHdl = rLink; } }; |