diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:10:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:10:19 +0100 |
commit | d09f0799e9c836c027d0c7f60e03822fc88c762a (patch) | |
tree | 116e9ba03a653608d05405297181f0115b4f27b8 /starmath | |
parent | e12323f0aa27c23da754ec324e3970a43d507d3e (diff) |
New loplugin:conststringvar: starmath
Change-Id: I23efecd90ee3e89afd0159ac2eaca78bb0a92685
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/qa/cppunit/test_nodetotextvisitors.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/qa/cppunit/test_nodetotextvisitors.cxx b/starmath/qa/cppunit/test_nodetotextvisitors.cxx index e2575c025db7..662cc2c165dc 100644 --- a/starmath/qa/cppunit/test_nodetotextvisitors.cxx +++ b/starmath/qa/cppunit/test_nodetotextvisitors.cxx @@ -669,8 +669,8 @@ void Test::testMiscEquivalent() void Test::testParser() { - char const* formula = "{ \xf0\x9d\x91\x8e }"; // non-BMP Unicode - char const* expected = "\xf0\x9d\x91\x8e"; + char const* const formula = "{ \xf0\x9d\x91\x8e }"; // non-BMP Unicode + char const* const expected = "\xf0\x9d\x91\x8e"; OUString sOutput; OUString sInput = OUString(formula, strlen(formula), RTL_TEXTENCODING_UTF8); |