From 54a97eb9ddd66294f303189ca12ef726177453cb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Jul 2022 15:52:29 +0200 Subject: clang-tidy modernize-pass-by-value in vcl Change-Id: I9ddb786eb88213c53cf53067ced6899ca40ac6e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137000 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/inc/messagedialog.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/inc/messagedialog.hxx') diff --git a/vcl/inc/messagedialog.hxx b/vcl/inc/messagedialog.hxx index 20e8c7b66084..dee6e712b2bc 100644 --- a/vcl/inc/messagedialog.hxx +++ b/vcl/inc/messagedialog.hxx @@ -40,7 +40,7 @@ private: virtual void StateChanged(StateChangedType nType) override; public: - MessageDialog(vcl::Window* pParent, const OUString& rMessage, VclMessageType eMessageType, + MessageDialog(vcl::Window* pParent, OUString aMessage, VclMessageType eMessageType, VclButtonsType eButtonsType); virtual bool set_property(const OString& rKey, const OUString& rValue) override; OUString const& get_primary_text() const; -- cgit