diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-17 11:35:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 08:19:59 +0200 |
commit | e669f70613ab1cad02e886aacc7a8d5df2550391 (patch) | |
tree | bf8d18012a2e7a27a6e3210004fae4f9ad6caf3b /i18npool/source/breakiterator/xdictionary.cxx | |
parent | 3ccaa4d9e9e18555e86e111259a4908413d36718 (diff) |
loplugin:constparams in i18npool,opencl,svl
Change-Id: I23368c3ce6d29c7b2e758e209e5a8315e82a2818
Reviewed-on: https://gerrit.libreoffice.org/40051
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool/source/breakiterator/xdictionary.cxx')
-rw-r--r-- | i18npool/source/breakiterator/xdictionary.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index 18babd5c4cf0..90e866426d57 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -250,7 +250,7 @@ WordBreakCache::WordBreakCache() : * Compare two unicode string, */ -bool WordBreakCache::equals(const sal_Unicode* str, Boundary& boundary) +bool WordBreakCache::equals(const sal_Unicode* str, Boundary const & boundary) { // Different length, different string. if (length != boundary.endPos - boundary.startPos) return false; @@ -332,7 +332,7 @@ static sal_Int16 JapaneseCharType(sal_Unicode c) return KANJA; } -WordBreakCache& xdictionary::getCache(const sal_Unicode *text, Boundary& wordBoundary) +WordBreakCache& xdictionary::getCache(const sal_Unicode *text, Boundary const & wordBoundary) { WordBreakCache& rCache = cache[text[0] & 0x1f]; |