summaryrefslogtreecommitdiff
path: root/ucb/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 10:59:06 +0200
committerNoel Grandin <noel@peralex.com>2016-03-09 10:07:45 +0200
commitaf74913da2b63857a248ac8fc4fa438b7a8663ec (patch)
treee3180aaf8b5bae19d7e2c9f209ce8dbc8b2f5aa0 /ucb/source/inc
parent0a8c9fde3ba59a278c9ee4d18f099cfeec71fbef (diff)
loplugin:constantparams in ucb
Change-Id: I6b925336b13404ccf0f78f194bd3488a22f99b97
Diffstat (limited to 'ucb/source/inc')
-rw-r--r--ucb/source/inc/regexp.hxx2
-rw-r--r--ucb/source/inc/regexpmap.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/inc/regexp.hxx b/ucb/source/inc/regexp.hxx
index e04120b47c56..18b09a36393f 100644
--- a/ucb/source/inc/regexp.hxx
+++ b/ucb/source/inc/regexp.hxx
@@ -45,7 +45,7 @@ public:
bool matches(OUString const & rString, OUString * pTranslation,
bool * pTranslated) const;
- OUString getRegexp(bool bReverse) const;
+ OUString getRegexp() const;
static Regexp parse(OUString const & rRegexp);
diff --git a/ucb/source/inc/regexpmap.hxx b/ucb/source/inc/regexpmap.hxx
index e4d446e5f44e..ab714ed6f793 100644
--- a/ucb/source/inc/regexpmap.hxx
+++ b/ucb/source/inc/regexpmap.hxx
@@ -150,7 +150,7 @@ void RegexpMapIterImpl< Val >::setEntry() const
Entry< Val > const & rTheEntry
= m_nList == -1 ? *m_pMap->m_pDefault : *m_aIndex;
m_aEntry
- = RegexpMapEntry< Val >(rTheEntry.m_aRegexp.getRegexp(false),
+ = RegexpMapEntry< Val >(rTheEntry.m_aRegexp.getRegexp(),
const_cast< Val * >(&rTheEntry.m_aValue));
m_bEntrySet = true;
}