summaryrefslogtreecommitdiff
path: root/ucb/source/inc
diff options
context:
space:
mode:
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; }