diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-08 09:49:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-09 13:47:52 +0100 |
commit | 48bca65f1cf381cba7cb7a4c3916155a1bca0955 (patch) | |
tree | df461652450b3e095e37a3290cbe54ab20cedfae /include/sfx2/passwd.hxx | |
parent | c468b6910bf77e332647725da70e3cb248a9de0e (diff) |
inherit welded dialogs from a common ancestor
Change-Id: Ifa6c871a134cf89bfba71b1049a115cf7c953c42
Reviewed-on: https://gerrit.libreoffice.org/50936
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2/passwd.hxx')
-rw-r--r-- | include/sfx2/passwd.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/sfx2/passwd.hxx b/include/sfx2/passwd.hxx index 2b30d56ae428..4c8b7f15868c 100644 --- a/include/sfx2/passwd.hxx +++ b/include/sfx2/passwd.hxx @@ -43,12 +43,9 @@ namespace o3tl // class SfxPasswordDialog ----------------------------------------------- -class SFX2_DLLPUBLIC SfxPasswordDialog +class SFX2_DLLPUBLIC SfxPasswordDialog : public weld::GenericDialogController { private: - std::unique_ptr<weld::Builder> m_xBuilder; - std::unique_ptr<weld::Dialog> m_xDialog; - std::unique_ptr<weld::Frame> m_xPassword1Box; std::unique_ptr<weld::Label> m_xUserFT; std::unique_ptr<weld::Entry> m_xUserED; @@ -128,9 +125,7 @@ public: void ShowMinLengthText(bool bShow); - void set_title(const OUString& rTitle) { m_xDialog->set_title(rTitle); } - void set_help_id(const OString& rHelpId) { m_xDialog->set_help_id(rHelpId); } - short run(); + short execute(); }; #endif // INCLUDED_SFX2_PASSWD_HXX |