summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 17:54:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 18:26:55 +0200
commit832614ffcc771acdfe311e223e66caf58a42918e (patch)
tree0e07a404edc05cd7dd072d6edf4a552df967fd89 /svtools
parent1000d122c9999a267d330d664b5263711b8e3f8c (diff)
loplugin:salunicodeliteral: svtools
Change-Id: I566b71b421bb2f2458f5d3f60e7d761d8725a004
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svrtf/parrtf.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx
index b1639b596677..625288c1277e 100644
--- a/svtools/source/svrtf/parrtf.cxx
+++ b/svtools/source/svrtf/parrtf.cxx
@@ -385,13 +385,13 @@ void SvRTFParser::ScanText()
aStrBuffer.append(sal_Unicode(nNextCh));
break;
case '~': // nonbreaking space
- aStrBuffer.append(static_cast< sal_Unicode >(0xA0));
+ aStrBuffer.append(u'\x00A0');
break;
case '-': // optional hyphen
- aStrBuffer.append(static_cast< sal_Unicode >(0xAD));
+ aStrBuffer.append(u'\x00AD');
break;
case '_': // nonbreaking hyphen
- aStrBuffer.append(static_cast< sal_Unicode >(0x2011));
+ aStrBuffer.append(u'\x2011');
break;
case 'u':