svl/qa/unit/svl.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
New commits: commit e23434e5af1bf11b00728b1925b0315fb7467b35 Author: Mark Hung <mark...@gmail.com> Date: Sat Sep 24 11:58:47 2016 +0800 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 <noel.gran...@collabora.co.uk> Tested-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index e3a81fb..9ae468f 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\\ ";
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits