summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2016-09-24 11:58:47 +0800
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-24 17:03:01 +0000
commite23434e5af1bf11b00728b1925b0315fb7467b35 (patch)
tree6b1350d00c0203e7ac817924f8c644befcdc9575 /svl
parentad4026693a372fbc4037bd8d7ced839e0d0f545f (diff)
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.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/qa/unit/svl.cxx9
1 files changed, 5 insertions, 4 deletions
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\\ ";