summaryrefslogtreecommitdiff
path: root/filter
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 /filter
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 'filter')
-rw-r--r--filter/source/graphicfilter/idxf/dxfreprd.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/graphicfilter/idxf/dxfreprd.cxx b/filter/source/graphicfilter/idxf/dxfreprd.cxx
index 5de89903c499..424aa2ac728e 100644
--- a/filter/source/graphicfilter/idxf/dxfreprd.cxx
+++ b/filter/source/graphicfilter/idxf/dxfreprd.cxx
@@ -460,9 +460,9 @@ OUString DXFRepresentation::ToOUString(const OString& s) const
| RTL_TEXTTOUNICODE_FLAGS_INVALID_ERROR);
result = result.replaceAll("%%o", "") // Overscore - simply remove
.replaceAll("%%u", "") // Underscore - simply remove
- .replaceAll("%%d", OUStringChar(0x00B0)) // Degrees symbol (°)
- .replaceAll("%%p", OUStringChar(0x00B1)) // Tolerance symbol (±)
- .replaceAll("%%c", OUStringChar(0x2205)) // Diameter symbol
+ .replaceAll("%%d", u"\u00B0") // Degrees symbol (°)
+ .replaceAll("%%p", u"\u00B1") // Tolerance symbol (±)
+ .replaceAll("%%c", u"\u2205") // Diameter symbol
.replaceAll("%%%", "%"); // Percent symbol
sal_Int32 pos = result.indexOf("%%"); // %%nnn, where nnn - 3-digit decimal ASCII code