summaryrefslogtreecommitdiff
path: root/ucb/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-07 08:49:37 +0200
committerNoel Grandin <noel@peralex.com>2016-09-07 10:04:44 +0200
commitc158c00489d35af7f5f9278b8ee545678d6a42e5 (patch)
treeeab18b26c29210979031ef6b9ef58ce0e0575664 /ucb/source/inc
parent5e9982668224345f901631d664985e823530e05a (diff)
loplugin:constantparam in framework..vbahelper
Change-Id: I592f73012ae8a4df8488ef04dc0956d9400625bc
Diffstat (limited to 'ucb/source/inc')
-rw-r--r--ucb/source/inc/regexp.hxx3
-rw-r--r--ucb/source/inc/regexpmap.hxx4
2 files changed, 3 insertions, 4 deletions
diff --git a/ucb/source/inc/regexp.hxx b/ucb/source/inc/regexp.hxx
index 18b09a36393f..75b17b59789b 100644
--- a/ucb/source/inc/regexp.hxx
+++ b/ucb/source/inc/regexp.hxx
@@ -42,8 +42,7 @@ public:
inline Kind getKind() const { return m_eKind; }
- bool matches(OUString const & rString, OUString * pTranslation,
- bool * pTranslated) const;
+ bool matches(OUString const & rString) const;
OUString getRegexp() const;
diff --git a/ucb/source/inc/regexpmap.hxx b/ucb/source/inc/regexpmap.hxx
index 49265e5332ab..6194b187b8dd 100644
--- a/ucb/source/inc/regexpmap.hxx
+++ b/ucb/source/inc/regexpmap.hxx
@@ -543,11 +543,11 @@ Val const * RegexpMap< Val >::map(rtl::OUString const & rString) const
typename List< Val >::const_iterator aEnd(rTheList.end());
for (typename List< Val >::const_iterator aIt(rTheList.begin()); aIt != aEnd;
++aIt)
- if (aIt->m_aRegexp.matches(rString, nullptr, nullptr))
+ if (aIt->m_aRegexp.matches(rString))
return &aIt->m_aValue;
}
if (m_pImpl->m_pDefault
- && m_pImpl->m_pDefault->m_aRegexp.matches(rString, nullptr, nullptr))
+ && m_pImpl->m_pDefault->m_aRegexp.matches(rString))
return &m_pImpl->m_pDefault->m_aValue;
return 0;
}