diff options
author | Noel <noelgrandin@gmail.com> | 2020-11-13 14:29:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-17 09:57:35 +0100 |
commit | 8ef6067596cf4b2c52fbce94b44bf7af9fefa643 (patch) | |
tree | f4cca1a99ba97683b14fa6fe0f1f45f75bf855c2 /desktop/source/deployment/gui/dp_gui_dialog2.hxx | |
parent | 75bada928cf08d2afc6efe52ba99b45088bc9eec (diff) |
loplugin:stringviewparam check methods too
not just functions
Change-Id: Icca295dd159002b428b73f2c95d40725434f04d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105789
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/deployment/gui/dp_gui_dialog2.hxx')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.hxx b/desktop/source/deployment/gui/dp_gui_dialog2.hxx index 09f2a2e42a9f..fe0a953dc213 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.hxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.hxx @@ -82,7 +82,7 @@ public: void incBusy() { m_aBusy.incBusy(m_pWindow); } void decBusy() { m_aBusy.decBusy(); } bool isBusy() const { return m_aBusy.isBusy(); } - bool installExtensionWarn(const OUString &rExtensionURL); + bool installExtensionWarn(std::u16string_view rExtensionURL); bool installForAllUsers(bool &bInstallForAll); }; @@ -123,7 +123,7 @@ class ExtMgrDialog : public weld::GenericDialogController std::unique_ptr<weld::ProgressBar> m_xProgressBar; std::unique_ptr<weld::Button> m_xCancelBtn; - bool removeExtensionWarn(const OUString &rExtensionTitle); + bool removeExtensionWarn(std::u16string_view rExtensionTitle); DECL_LINK( HandleOptionsBtn, weld::Button&, void ); DECL_LINK( HandleAddBtn, weld::Button&, void ); |