summaryrefslogtreecommitdiff
path: root/cui
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 /cui
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 'cui')
-rw-r--r--cui/source/inc/FontFeaturesDialog.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/inc/FontFeaturesDialog.hxx b/cui/source/inc/FontFeaturesDialog.hxx
index 9f1421594ac9..533384d2e972 100644
--- a/cui/source/inc/FontFeaturesDialog.hxx
+++ b/cui/source/inc/FontFeaturesDialog.hxx
@@ -54,7 +54,7 @@ public:
void dispose() override;
short Execute() override;
- OUString getResultFontName() { return m_sResultFontName; }
+ OUString const& getResultFontName() { return m_sResultFontName; }
void updateFontPreview();
};