diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-06 19:00:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-08 08:31:45 +0200 |
commit | 40b1e5d40667e5863aa213a31fa1b06085bd407a (patch) | |
tree | f4e0fe96260e6bd52763af539729785853ba3734 /include/vcl/weld.hxx | |
parent | 107af098311beafaadb343c5a3634389f56006a0 (diff) |
loplugin:passstuffbyref
Change-Id: I6e6c47020073ec183c6c8ff9cd026a0bec23b177
Reviewed-on: https://gerrit.libreoffice.org/57088
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/weld.hxx')
-rw-r--r-- | include/vcl/weld.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 39ee0c867886..a7f2ab8d0543 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -286,7 +286,7 @@ public: } void save_value() { m_sSavedValue = get_active_text(); } - OUString get_saved_value() const { return m_sSavedValue; } + OUString const& get_saved_value() const { return m_sSavedValue; } bool get_value_changed_from_saved() const { return m_sSavedValue != get_active_text(); } }; |