diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-17 12:23:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-19 08:44:52 +0200 |
commit | d8ac55e3e53564aca4b0bade5a5b5cb01b4519b1 (patch) | |
tree | eccc16dc658bdcc8c3e47b2656d9481af73f89fb /uui | |
parent | 488db385bd14597b2c14410b855749bc5c5b9441 (diff) |
loplugin:constfields in unotools..uui
Change-Id: I9d9cfd107bea9556cbc505e977838fb13bd25e2a
Reviewed-on: https://gerrit.libreoffice.org/60573
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/fltdlg.cxx | 2 | ||||
-rw-r--r-- | uui/source/logindlg.hxx | 4 | ||||
-rw-r--r-- | uui/source/passworddlg.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx index 2911acb03b22..100f0e90bcb2 100644 --- a/uui/source/fltdlg.cxx +++ b/uui/source/fltdlg.cxx @@ -168,7 +168,7 @@ class StringCalculator : public ::cppu::WeakImplHelper< css::util::XStringWidth } private: - weld::Widget* m_pDevice; + weld::Widget* const m_pDevice; }; /*-************************************************************************************************************ diff --git a/uui/source/logindlg.hxx b/uui/source/logindlg.hxx index e96d11ae72a8..adfa31246e77 100644 --- a/uui/source/logindlg.hxx +++ b/uui/source/logindlg.hxx @@ -53,8 +53,8 @@ class LoginDialog : public weld::GenericDialogController std::unique_ptr<weld::CheckButton> m_xSavePasswdBtn; std::unique_ptr<weld::CheckButton> m_xUseSysCredsCB; std::unique_ptr<weld::Button> m_xOKBtn; - OUString m_server; - OUString m_realm; + OUString const m_server; + OUString const m_realm; void HideControls_Impl( LoginFlags nFlags ); void EnableUseSysCredsControls_Impl( bool bUseSysCredsEnabled ); diff --git a/uui/source/passworddlg.hxx b/uui/source/passworddlg.hxx index 6da3ad4c49b7..f376fb90a752 100644 --- a/uui/source/passworddlg.hxx +++ b/uui/source/passworddlg.hxx @@ -31,7 +31,7 @@ class PasswordDialog : public weld::GenericDialogController std::unique_ptr<weld::Entry> m_xEDConfirmPassword; std::unique_ptr<weld::Button> m_xOKBtn; sal_uInt16 nMinLen; - OUString aPasswdMismatch; + OUString const aPasswdMismatch; DECL_LINK(OKHdl_Impl, weld::Button&, void); |