New loplugin:conststringvar: starmath

Change-Id: I23efecd90ee3e89afd0159ac2eaca78bb0a92685
This commit is contained in:
Stephan Bergmann 2017-01-10 08:10:19 +01:00
parent e12323f0aa
commit d09f0799e9

View file

@ -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);