diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-04 16:54:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-05 09:20:10 +0100 |
commit | f1d1854ffe2c1bc456855573b3ed4ad9852f4571 (patch) | |
tree | d9d93ef354e172b869312100c51665c2a4bc8308 /uui/source/logindlg.hxx | |
parent | 94fc02ddbdd5aaef701af9963f74050aed75468d (diff) |
remove NoPath from LoginFlags
since it is always set when calling HideControls_Impl, and therefore
remove the now unused UI controls
Change-Id: I8a2a6a34b64dd7b0bf909c810bbd7fea8ad2c7a5
Reviewed-on: https://gerrit.libreoffice.org/47403
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uui/source/logindlg.hxx')
-rw-r--r-- | uui/source/logindlg.hxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/uui/source/logindlg.hxx b/uui/source/logindlg.hxx index 8b6e7731e498..85b2ef3f1f99 100644 --- a/uui/source/logindlg.hxx +++ b/uui/source/logindlg.hxx @@ -29,7 +29,6 @@ enum class LoginFlags { NONE = 0x0000, - NoPath = 0x0001, // hide "path" NoUsername = 0x0002, // hide "name" NoPassword = 0x0004, // hide "password" NoSavePassword = 0x0008, // hide "save password" @@ -40,7 +39,7 @@ enum class LoginFlags { NoUseSysCreds = 0x0100, // hide "use system credentials" }; namespace o3tl { - template<> struct typed_flags<LoginFlags> : is_typed_flags<LoginFlags, 0x01ff> {}; + template<> struct typed_flags<LoginFlags> : is_typed_flags<LoginFlags, 0x01fe> {}; } @@ -49,9 +48,6 @@ class LoginDialog : public ModalDialog VclPtr<FixedText> m_pErrorFT; VclPtr<FixedText> m_pErrorInfo; VclPtr<FixedText> m_pRequestInfo; - VclPtr<FixedText> m_pPathFT; - VclPtr<Edit> m_pPathED; - VclPtr<PushButton> m_pPathBtn; VclPtr<FixedText> m_pNameFT; VclPtr<Edit> m_pNameED; VclPtr<FixedText> m_pPasswordFT; @@ -69,7 +65,6 @@ class LoginDialog : public ModalDialog void SetRequest(); DECL_LINK(OKHdl_Impl, Button*, void); - DECL_LINK(PathHdl_Impl, Button*, void); DECL_LINK(UseSysCredsHdl_Impl, Button*, void); public: |