summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-24 15:02:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-24 17:15:48 +0200
commitc3cd2daa572d66d9a03c176573494b11ae388c60 (patch)
tree7dfa4262dac53da86564c55ab7eb6cecd5bad385 /editeng
parentcf94d52c0537d9291309b10fb3021f9d35bf1796 (diff)
Remove obsolete comments about '\r' on old Mac OS
(and where sticking to numeric '\x0D' is probably cleaner anyway) Change-Id: I614c57a4de74bf688c498e9bff043ca2eee04cb2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97033 Tested-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'editeng')
-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 53f3088b19be..75854d802f42 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1774,7 +1774,7 @@ void SAL_CALL SvxUnoTextBase::insertControlCharacter( const uno::Reference< text
{
case text::ControlCharacter::PARAGRAPH_BREAK:
{
- const OUString aText( u'\x000D' ); // '\r' does not work on Mac
+ const OUString aText( u'\x000D' );
insertString( xRange, aText, bAbsorb );
return;
@@ -1824,7 +1824,7 @@ void SAL_CALL SvxUnoTextBase::insertControlCharacter( const uno::Reference< text
aRange.nEndPos = aRange.nStartPos;
pRange->SetSelection( aRange );
- const OUString aText( u'\x000D' ); // '\r' does not work on Mac
+ const OUString aText( u'\x000D' );
pRange->setString( aText );
aRange.nStartPos = 0;