summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-31 17:24:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-31 18:11:26 +0100
commit0b6aad2da3ef9c4c37fe141eb068e40d1ed4dfc0 (patch)
treefe40eb946de927b3d6ede5babf728f901adf2eb2 /fpicker
parent35b8b7bc53b20d13d7fa8f75e81a266d2e62d3bc (diff)
loplugin:passstuffbyref improved return in lotuswordpro
Change-Id: I2e4103bb496ed3d0677d036e2f8cec76d001d682 Reviewed-on: https://gerrit.libreoffice.org/47222 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/fpsmartcontent.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/office/fpsmartcontent.hxx b/fpicker/source/office/fpsmartcontent.hxx
index 0c37ac83fbc0..08c4ad4a320f 100644
--- a/fpicker/source/office/fpsmartcontent.hxx
+++ b/fpicker/source/office/fpsmartcontent.hxx
@@ -131,7 +131,7 @@ namespace svt
/** returns the URL of the content
*/
- OUString getURL() const { return m_pContent ? m_pContent->getURL() : m_sURL; }
+ OUString const & getURL() const { return m_pContent ? m_pContent->getURL() : m_sURL; }
/** (re)creates the content for the given URL