diff options
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/dialogs.hrc | 3 | ||||
-rw-r--r-- | include/svx/passwd.hxx | 21 |
2 files changed, 10 insertions, 14 deletions
diff --git a/include/svx/dialogs.hrc b/include/svx/dialogs.hrc index 4c1ba17fd05c..4c3d681016f7 100644 --- a/include/svx/dialogs.hrc +++ b/include/svx/dialogs.hrc @@ -200,7 +200,6 @@ // for Toolbox-Control style #define RID_SVXTBX_STYLE (RID_SVX_START + 120) -#define RID_SVXDLG_PASSWORD (RID_SVX_START + 141) #define RID_SVXDLG_COMPRESSGRAPHICS (RID_SVX_START + 142) // Dialog for functions @@ -995,6 +994,8 @@ #define RID_SVXSTR_DOC_MODIFIED_YES (SVX_OOO_BUILD_START + 4) // 1234 #define RID_SVXSTR_DOC_MODIFIED_NO (SVX_OOO_BUILD_START + 5) // 1235 #define RID_SVXSTR_DOC_LOAD (SVX_OOO_BUILD_START + 6) // 1236 +#define RID_SVXSTR_ERR_OLD_PASSWD (SVX_OOO_BUILD_START + 7) // 1237 +#define RID_SVXSTR_ERR_REPEAT_PASSWD (SVX_OOO_BUILD_START + 8) // 1238 // sidebar-related resources (defined in the appropriate .hrc's) #define RID_SVX_SIDEBAR_BEGIN (RID_SVX_START + 1240) diff --git a/include/svx/passwd.hxx b/include/svx/passwd.hxx index 532ee6e0170b..1009597dd77d 100644 --- a/include/svx/passwd.hxx +++ b/include/svx/passwd.hxx @@ -33,17 +33,12 @@ class SVX_DLLPUBLIC SvxPasswordDialog : public SfxModalDialog { private: - FixedLine aOldFL; - FixedText aOldPasswdFT; - Edit aOldPasswdED; - FixedLine aNewFL; - FixedText aNewPasswdFT; - Edit aNewPasswdED; - FixedText aRepeatPasswdFT; - Edit aRepeatPasswdED; - OKButton aOKBtn; - CancelButton aEscBtn; - HelpButton aHelpBtn; + FixedText* m_pOldFL; + FixedText* m_pOldPasswdFT; + Edit* m_pOldPasswdED; + Edit* m_pNewPasswdED; + Edit* m_pRepeatPasswdED; + OKButton* m_pOKBtn; OUString aOldPasswdErrStr; OUString aRepeatPasswdErrStr; @@ -59,8 +54,8 @@ public: SvxPasswordDialog( Window* pParent, sal_Bool bAllowEmptyPasswords = sal_False, sal_Bool bDisableOldPassword = sal_False ); ~SvxPasswordDialog(); - OUString GetOldPassword() const { return aOldPasswdED.GetText(); } - OUString GetNewPassword() const { return aNewPasswdED.GetText(); } + OUString GetOldPassword() const { return m_pOldPasswdED->GetText(); } + OUString GetNewPassword() const { return m_pNewPasswdED->GetText(); } void SetCheckPasswordHdl( const Link& rLink ) { aCheckPasswordHdl = rLink; } }; |