From 71112060e0930fc58087c3762e836b1e12b60f75 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 13 Jun 2017 10:27:38 +0200 Subject: loplugin:oncevar various Change-Id: I8b82d46d4688b1a59d6fe1b05da7d5c8dfc13ca6 Reviewed-on: https://gerrit.libreoffice.org/38766 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/qa/unit/core-test.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng/qa/unit') diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx index 0ae12f9bcd70..637342ddf13a 100644 --- a/editeng/qa/unit/core-test.cxx +++ b/editeng/qa/unit/core-test.cxx @@ -402,7 +402,7 @@ void Test::testAutocorrect() // consider field contents as text for auto quotes { OUString sInput("T\x01"); - sal_Unicode cNextChar('"'); + sal_Unicode const cNextChar('"'); const sal_Unicode EXPECTED[] = { 'T', 0x01, 0x0201d }; OUString sExpected(EXPECTED, SAL_N_ELEMENTS(EXPECTED)); -- cgit