diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 16:04:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-25 17:19:36 +0200 |
commit | a006f60b6ae22db6acb57d06167a3c6fd8bc6f1b (patch) | |
tree | 707809080a1fbb95c101de7afe3233f85f0f7bcb /i18npool/qa | |
parent | d116894b26f538793a0d5dc5847efd2fb53e7acb (diff) |
loplugin:oncevar in helpcompiler..jvmfwk
Change-Id: Ia9b20a8ca95684cbeb21e3425972c43ba50df3cd
Reviewed-on: https://gerrit.libreoffice.org/39187
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool/qa')
-rw-r--r-- | i18npool/qa/cppunit/test_breakiterator.cxx | 2 | ||||
-rw-r--r-- | i18npool/qa/cppunit/test_textsearch.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/qa/cppunit/test_breakiterator.cxx b/i18npool/qa/cppunit/test_breakiterator.cxx index e18efe843029..8c5b377b3bd9 100644 --- a/i18npool/qa/cppunit/test_breakiterator.cxx +++ b/i18npool/qa/cppunit/test_breakiterator.cxx @@ -115,7 +115,7 @@ void TestBreakIterator::testLineBreaking() //See https://bz.apache.org/ooo/show_bug.cgi?id=17155 { - OUString aTest("foo /bar/baz"); + OUString const aTest("foo /bar/baz"); aLocale.Language = "en"; aLocale.Country = "US"; diff --git a/i18npool/qa/cppunit/test_textsearch.cxx b/i18npool/qa/cppunit/test_textsearch.cxx index 303af41db72e..be366aa71fdc 100644 --- a/i18npool/qa/cppunit/test_textsearch.cxx +++ b/i18npool/qa/cppunit/test_textsearch.cxx @@ -103,9 +103,9 @@ void TestTextSearch::testSearches() { OUString str( "acababaabcababadcdaa" ); sal_Int32 startPos = 2, endPos = 20 ; - OUString searchStr( "(ab)*a(c|d)+" ); - sal_Int32 fStartRes = 10, fEndRes = 18 ; - sal_Int32 bStartRes = 18, bEndRes = 10 ; + OUString const searchStr( "(ab)*a(c|d)+" ); + sal_Int32 const fStartRes = 10, fEndRes = 18 ; + sal_Int32 const bStartRes = 18, bEndRes = 10 ; // set options util::SearchOptions aOptions; |