How to copy text from shape to body text in a unit test

Regina Henschel rb.henschel at t-online.de
Wed Jan 10 17:29:24 UTC 2024


Hi all,

please have a look at the unit test in 
https://gerrit.libreoffice.org/c/core/+/161842. It works but it looks 
strange to me.
The task is this:
Copy the text content of a shape and paste it in rich text format to the 
body text. Make sure, that a line break (shift enter) in the original 
text is preserved in the pasted text.

It there a better way for this task in a unit test?

Kind regards,
Regina


More information about the LibreOffice mailing list