summaryrefslogtreecommitdiff
path: root/ucb/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:39:18 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:41 +0200
commitf6ea0b2eb44073baf1445dc8e62fc8a245e5d378 (patch)
tree1e7302abb6bb24fe1f3d43ce9698142bc61f6107 /ucb/source/inc
parenteb1603cb5383be7e25f35053dd64f044ead90099 (diff)
loplugin:passstuffbyref in ucb
Change-Id: I4ba18c767c67c9c8d23aac3f8de728b7a229804d
Diffstat (limited to 'ucb/source/inc')
-rw-r--r--ucb/source/inc/regexpmap.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/inc/regexpmap.hxx b/ucb/source/inc/regexpmap.hxx
index 09244e6d89b2..994d896b875c 100644
--- a/ucb/source/inc/regexpmap.hxx
+++ b/ucb/source/inc/regexpmap.hxx
@@ -43,7 +43,7 @@ public:
Val * pTheValue):
m_aRegexp(rTheRegexp), m_pValue(pTheValue) {}
- OUString getRegexp() const { return m_aRegexp; }
+ const OUString& getRegexp() const { return m_aRegexp; }
Val const & getValue() const { return *m_pValue; }