summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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':