editeng/source/uno/unotext.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c3cd2daa572d66d9a03c176573494b11ae388c60 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Jun 24 15:02:19 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed Jun 24 17:15:48 2020 +0200 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 <sberg...@redhat.com> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits