summaryrefslogtreecommitdiff
path: root/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-21 17:06:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-22 09:12:56 +0200
commitc82cf38427c47f60ba6cc6a008c9f60fb488dae9 (patch)
tree88e3145e80ad802f9b0c27f00139efb3712bef1a /lingucomponent/source/thesaurus/libnth/nthesimp.cxx
parent5fad6eb1b38d369f4f7ca401f3c651292667486e (diff)
loplugin:constparams in editeng,lingucomponent
Change-Id: I99d9153e3fd1fead34c856ac68a120bb06a003d3 Reviewed-on: https://gerrit.libreoffice.org/40296 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lingucomponent/source/thesaurus/libnth/nthesimp.cxx')
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index e271689287de..19906445ce0f 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -546,21 +546,21 @@ void SAL_CALL Thesaurus::initialize( const Sequence< Any >& rArguments )
}
}
-OUString SAL_CALL Thesaurus::makeLowerCase(const OUString& aTerm, CharClass * pCC)
+OUString SAL_CALL Thesaurus::makeLowerCase(const OUString& aTerm, CharClass const * pCC)
{
if (pCC)
return pCC->lowercase(aTerm);
return aTerm;
}
-OUString SAL_CALL Thesaurus::makeUpperCase(const OUString& aTerm, CharClass * pCC)
+OUString SAL_CALL Thesaurus::makeUpperCase(const OUString& aTerm, CharClass const * pCC)
{
if (pCC)
return pCC->uppercase(aTerm);
return aTerm;
}
-OUString SAL_CALL Thesaurus::makeInitCap(const OUString& aTerm, CharClass * pCC)
+OUString SAL_CALL Thesaurus::makeInitCap(const OUString& aTerm, CharClass const * pCC)
{
sal_Int32 tlen = aTerm.getLength();
if (pCC && tlen)