From d8ac55e3e53564aca4b0bade5a5b5cb01b4519b1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 17 Sep 2018 12:23:50 +0200 Subject: loplugin:constfields in unotools..uui Change-Id: I9d9cfd107bea9556cbc505e977838fb13bd25e2a Reviewed-on: https://gerrit.libreoffice.org/60573 Tested-by: Jenkins Reviewed-by: Noel Grandin --- uui/source/fltdlg.cxx | 2 +- uui/source/logindlg.hxx | 4 ++-- uui/source/passworddlg.hxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'uui/source') 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 m_xSavePasswdBtn; std::unique_ptr m_xUseSysCredsCB; std::unique_ptr 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 m_xEDConfirmPassword; std::unique_ptr m_xOKBtn; sal_uInt16 nMinLen; - OUString aPasswdMismatch; + OUString const aPasswdMismatch; DECL_LINK(OKHdl_Impl, weld::Button&, void); -- cgit