summaryrefslogtreecommitdiff
path: root/editeng/source/uno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 17:57:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 18:26:59 +0200
commit40045b5c119776621897f2a51e00373eba5b33f6 (patch)
treeb2033e25f669e9b2d42a615e4192e47efb14aeae /editeng/source/uno
parentc049946e16f7fc01a0537911e6d46796528358bb (diff)
loplugin:salunicodeliteral: editeng
Change-Id: I5db29ba3505d914ec05826128713d7e25091ed11
Diffstat (limited to 'editeng/source/uno')
-rw-r--r--editeng/source/uno/unotext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index bd55ed046413..f2e5cbac548f 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1806,7 +1806,7 @@ void SAL_CALL SvxUnoTextBase::insertControlCharacter( const uno::Reference< text
{
case text::ControlCharacter::PARAGRAPH_BREAK:
{
- const OUString aText( (sal_Unicode)13 ); // '\r' does not work on Mac
+ const OUString aText( u'\x000D' ); // '\r' does not work on Mac
insertString( xRange, aText, bAbsorb );
return;
@@ -1856,7 +1856,7 @@ void SAL_CALL SvxUnoTextBase::insertControlCharacter( const uno::Reference< text
aRange.nEndPos = aRange.nStartPos;
pRange->SetSelection( aRange );
- const OUString aText( (sal_Unicode)13 ); // '\r' does not work on Mac
+ const OUString aText( u'\x000D' ); // '\r' does not work on Mac
pRange->setString( aText );
aRange.nStartPos = 0;