diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-12 15:52:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-13 09:22:40 +0200 |
commit | 54a97eb9ddd66294f303189ca12ef726177453cb (patch) | |
tree | fc068c028f44ef859021bf4b1a66daa29491a20d /vcl/inc/messagedialog.hxx | |
parent | 72f631977435a704008a55d3be6489ba619e3064 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/messagedialog.hxx')
-rw-r--r-- | vcl/inc/messagedialog.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |