summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-19 13:24:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-19 15:36:52 +0200
commitac2c1fb821b45f2382a5104b4d98dc08061ae938 (patch)
treebcc57c5cf1a9853fffd9792205cbe05aa07a1863 /svl
parent4444d5dbe7dba90ccfb0a9eeed36be0abfdd1854 (diff)
Replace some uses of OUStringChar with string literals
Change-Id: I763f9a3f57efcd47643ca4651e2454e95c6921c9 Reviewed-on: https://gerrit.libreoffice.org/81127 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/qa/unit/svl.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index e36136e61896..4b9300d5a1bf 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1400,11 +1400,7 @@ void Test::testUserDefinedNumberFormats()
{ // tdf#79399 tdf#101462 Native Number Formats
sCode = "[NatNum5][$-0404]General\\ ";
// Chinese upper case number characters for 120
- sExpected = OUStringChar(22777) +
- OUStringChar(20336) +
- OUStringChar(36019) +
- OUStringChar(25342) +
- " ";
+ sExpected = u"\u58F9\u4F70\u8CB3\u62FE ";
checkPreviewString(aFormatter, sCode, 120, eLang, sExpected);
sCode = "[DBNum2][$-0404]General\\ ";
checkPreviewString(aFormatter, sCode, 120, eLang, sExpected);