summaryrefslogtreecommitdiff
path: root/sw/inc/SwStyleNameMapper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 20:33:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 22:12:02 +0200
commit592c31a8fa8729259cf42440a0a26c0322bbbba5 (patch)
tree5448499c937ca9a5fba1ecb8c6a278180359853d /sw/inc/SwStyleNameMapper.hxx
parentef2e9c91d0a0483c19d0175c1b0ccb24d3f6bfbc (diff)
loplugin:returnconstval in sw
Change-Id: I15d8553bff7528f690ff92bee75d6a67037c0adf Reviewed-on: https://gerrit.libreoffice.org/78062 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/SwStyleNameMapper.hxx')
-rw-r--r--sw/inc/SwStyleNameMapper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/SwStyleNameMapper.hxx b/sw/inc/SwStyleNameMapper.hxx
index e9e2533dd6e6..79d4f1011238 100644
--- a/sw/inc/SwStyleNameMapper.hxx
+++ b/sw/inc/SwStyleNameMapper.hxx
@@ -166,9 +166,9 @@ public:
// RES_POOLCOLL_LABEL_TABLE, RES_POOLCOLL_LABEL_FRAME
// forth and back.
// Non-matching names remain unchanged.
- SW_DLLPUBLIC static const OUString GetSpecialExtraProgName(
+ SW_DLLPUBLIC static const OUString & GetSpecialExtraProgName(
const OUString& rExtraUIName);
- static const OUString GetSpecialExtraUIName(const OUString& rExtraProgName);
+ static const OUString & GetSpecialExtraUIName(const OUString& rExtraProgName);
static const std::vector<OUString>& GetTextUINameArray();
static const std::vector<OUString>& GetListsUINameArray();