diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-16 10:05:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-17 08:39:51 +0200 |
commit | 9ffdf7adc00d8e9d931184d3008f4e505e4a5024 (patch) | |
tree | 8b75090145b4218578e42461693fd73d66edb3b0 /uui | |
parent | ae39b1ef2dcc9ef7784ff002dd10318564931c2b (diff) |
loplugin:unusedfields in tools..xmlhelp
Change-Id: I5e909a8def86ce9ad150440e6c6ad304e855cc69
Reviewed-on: https://gerrit.libreoffice.org/54415
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/masterpassworddlg.cxx | 3 | ||||
-rw-r--r-- | uui/source/masterpassworddlg.hxx | 1 | ||||
-rw-r--r-- | uui/source/passworddlg.cxx | 3 | ||||
-rw-r--r-- | uui/source/passworddlg.hxx | 1 |
4 files changed, 2 insertions, 6 deletions
diff --git a/uui/source/masterpassworddlg.cxx b/uui/source/masterpassworddlg.cxx index f743db94f327..65146101ced7 100644 --- a/uui/source/masterpassworddlg.cxx +++ b/uui/source/masterpassworddlg.cxx @@ -35,11 +35,10 @@ IMPL_LINK_NOARG(MasterPasswordDialog, OKHdl_Impl, Button*, void) MasterPasswordDialog::MasterPasswordDialog ( vcl::Window* pParent, - css::task::PasswordRequestMode aDialogMode, + css::task::PasswordRequestMode nDialogMode, const std::locale& rLocale ) : ModalDialog(pParent, "MasterPasswordDialog", "uui/ui/masterpassworddlg.ui") - , nDialogMode(aDialogMode) , rResLocale(rLocale) { get(m_pEDMasterPassword, "password"); diff --git a/uui/source/masterpassworddlg.hxx b/uui/source/masterpassworddlg.hxx index cb27bfd3b865..bc709a3895e4 100644 --- a/uui/source/masterpassworddlg.hxx +++ b/uui/source/masterpassworddlg.hxx @@ -42,7 +42,6 @@ public: OUString GetMasterPassword() const { return m_pEDMasterPassword->GetText(); } private: - css::task::PasswordRequestMode nDialogMode; const std::locale& rResLocale; }; diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx index 14cb63446eae..436b5a7a8743 100644 --- a/uui/source/passworddlg.cxx +++ b/uui/source/passworddlg.cxx @@ -28,7 +28,7 @@ using namespace ::com::sun::star; PasswordDialog::PasswordDialog(weld::Window* pParent, - task::PasswordRequestMode nDlgMode, const std::locale& rLocale, + task::PasswordRequestMode nDialogMode, const std::locale& rLocale, const OUString& aDocURL, bool bOpenToModify, bool bIsSimplePasswordRequest) : GenericDialogController(pParent, "uui/ui/password.ui", "PasswordDialog") , m_xFTPassword(m_xBuilder->weld_label("newpassFT")) @@ -38,7 +38,6 @@ PasswordDialog::PasswordDialog(weld::Window* pParent, , m_xOKBtn(m_xBuilder->weld_button("ok")) , nMinLen(1) , aPasswdMismatch(Translate::get(STR_PASSWORD_MISMATCH, rLocale)) - , nDialogMode(nDlgMode) , rResLocale(rLocale) { if( nDialogMode == task::PasswordRequestMode_PASSWORD_REENTER ) diff --git a/uui/source/passworddlg.hxx b/uui/source/passworddlg.hxx index bf865b0e8f17..6da3ad4c49b7 100644 --- a/uui/source/passworddlg.hxx +++ b/uui/source/passworddlg.hxx @@ -44,7 +44,6 @@ public: OUString GetPassword() const { return m_xEDPassword->get_text(); } private: - css::task::PasswordRequestMode nDialogMode; const std::locale& rResLocale; }; |