https://bugs.documentfoundation.org/show_bug.cgi?id=69795

Andreas Heinisch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]   |[email protected]
                   |                            |desktop.org
                 CC|                            |[email protected]
             Status|ASSIGNED                    |NEW

--- Comment #16 from Andreas Heinisch <[email protected]> ---
After digging more into the code, I think this is not a bug. The string of the
content will be retrieved in SwUnoCursorHelper::GetTextFromPam [1] using the
system line ending (LINEEND_CRLF for Windows, LINEEND_CR for Linux) from a PaM.
Assigning that string will then lead to different results, since they will be
interpreted differently from either OS.

So Imho, you may parse the result of the string retrieval and check parse the
contents inserting manual paragraphs or new lines.

[1]https://opengrok.libreoffice.org/xref/core/sw/source/core/unocore/unoobj.cxx?r=e072e414#128

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to