summaryrefslogtreecommitdiff
path: root/include/vcl/weld.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-06 19:00:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-08 08:31:45 +0200
commit40b1e5d40667e5863aa213a31fa1b06085bd407a (patch)
treef4e0fe96260e6bd52763af539729785853ba3734 /include/vcl/weld.hxx
parent107af098311beafaadb343c5a3634389f56006a0 (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.hxx2
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(); }
};