summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/qa/cppunit/test_nodetotextvisitors.cxx4
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);