diff options
author | Noel <noelgrandin@gmail.com> | 2020-11-17 10:09:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-17 12:12:03 +0100 |
commit | 0c7ac93103f69373a7e7639f4cf3ad464c0b727e (patch) | |
tree | 7d814c59be4e23b03cb266e3c797af0dcd927139 /dbaccess | |
parent | 0979798658ff536defe537f57cc6b32278d32414 (diff) |
loplugin:stringviewparam extend to constructors
Change-Id: Ia573921566ec6079b843cbcc0401d9d0f5c62089
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105969
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/UserAdmin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/UserAdmin.cxx b/dbaccess/source/ui/dlg/UserAdmin.cxx index b7733b79e94c..672830edd85b 100644 --- a/dbaccess/source/ui/dlg/UserAdmin.cxx +++ b/dbaccess/source/ui/dlg/UserAdmin.cxx @@ -61,7 +61,7 @@ class OPasswordDialog : public weld::GenericDialogController DECL_LINK(ModifiedHdl, weld::Entry&, void); public: - OPasswordDialog(weld::Window* pParent,const OUString& rUserName); + OPasswordDialog(weld::Window* pParent, std::u16string_view rUserName); OUString GetOldPassword() const { return m_xEDOldPassword->get_text(); } OUString GetNewPassword() const { return m_xEDPassword->get_text(); } @@ -69,7 +69,7 @@ public: } -OPasswordDialog::OPasswordDialog(weld::Window* _pParent,const OUString& rUserName) +OPasswordDialog::OPasswordDialog(weld::Window* _pParent, std::u16string_view rUserName) : GenericDialogController(_pParent, "dbaccess/ui/password.ui", "PasswordDialog") , m_xUser(m_xBuilder->weld_frame("userframe")) , m_xEDOldPassword(m_xBuilder->weld_entry("oldpassword")) |