From e23434e5af1bf11b00728b1925b0315fb7467b35 Mon Sep 17 00:00:00 2001 From: Mark Hung Date: Sat, 24 Sep 2016 11:58:47 +0800 Subject: Remove Chinese comment in svl/qa. The Chinese characters in the comment caused a compiler warning that it can not be represented in cp950 codepage and forbid OUStringLiteral1 concatenation. Replacing it with meaningful English comment so others can understand it. Change-Id: Ibc571e68ee5d65a89e385d79962db0fd6b1298cc Reviewed-on: https://gerrit.libreoffice.org/29246 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- svl/qa/unit/svl.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'svl') diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index e3a81fb7d1af..9ae468f00c83 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1185,10 +1185,11 @@ void Test::testUserDefinedNumberFormats() } { // tdf#79399 tdf#101462 Native Number Formats sCode = "[NatNum5][$-0404]General\\ "; - sExpected = OUStringLiteral1(22777) + // 壹 - OUStringLiteral1(20336) + // 佰 - OUStringLiteral1(36019) + // 貳 - OUStringLiteral1(25342) + // 拾 + // Chinese upper case number characters for 120 + sExpected = OUStringLiteral1(22777) + + OUStringLiteral1(20336) + + OUStringLiteral1(36019) + + OUStringLiteral1(25342) + " "; checkPreviewString(aFormatter, sCode, 120, eLang, sExpected); sCode = "[DBNum2][$-0404]General\\ "; -- cgit