summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-30 14:36:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-30 20:16:38 +0100
commitb7cb509d38fc7183bc6f695f3f6390a10dfd70c7 (patch)
treea396f0a4d95bd7239162f5a88e0ed4b3a557f9a5 /cui
parente33dbe2c8383cb55748753c68d551050a5c424ff (diff)
loplugin:passstuffbyref improved return in cui,dbaccess
Change-Id: I1193ff91ccd548acf9492d9701b6411a24d6763e Reviewed-on: https://gerrit.libreoffice.org/47194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/screenshotannotationdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx
index f8f0377bd00b..b8010a8ef1be 100644
--- a/cui/source/dialogs/screenshotannotationdlg.cxx
+++ b/cui/source/dialogs/screenshotannotationdlg.cxx
@@ -116,7 +116,7 @@ public:
return maB2IRange;
}
- const OString GetHelpId() const { return mrControl.GetHelpId(); }
+ OString const & GetHelpId() const { return mrControl.GetHelpId(); }
private:
const vcl::Window& mrControl;