diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2022-12-07 14:30:59 +0100 |
---|---|---|
committer | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2022-12-07 14:43:31 +0000 |
commit | 3772f18266c3347e8fd60eb8f058d65328c400b4 (patch) | |
tree | b0f90ce5beb591fa03c4d07a7a3e2805fe1c688d /extras/source/autotext/lang/th | |
parent | 39bb374ad949ed10b71d7f5327607df5bcdd05a6 (diff) |
tdf#53023 - Remove last empty paragraph from auto text
Remove the last empty paragraph before inserting an auto text.
The carriage return at the end of it is appended in
SwXMLTextBlockParContext::~SwXMLTextBlockParContext()
which can't be removed without introducing side effects.
In order to compensate for the change, a paragraph has been
added to the existing only text auto texts.
Patch was reverted due to a hang of the ui test. It seems that
selecting an entire text using mkPropertyValues({"KEYCODE":"CTRL+A"}))
does not work anymore.
Change-Id: I08f612d50f496c8d7f891c773ddedf27c3d80864
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143781
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Diffstat (limited to 'extras/source/autotext/lang/th')
-rw-r--r-- | extras/source/autotext/lang/th/standard/LOREM/LOREM.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/source/autotext/lang/th/standard/LOREM/LOREM.xml b/extras/source/autotext/lang/th/standard/LOREM/LOREM.xml index 81dfeb4a2f66..b8d7e2d2fbd3 100644 --- a/extras/source/autotext/lang/th/standard/LOREM/LOREM.xml +++ b/extras/source/autotext/lang/th/standard/LOREM/LOREM.xml @@ -5,5 +5,6 @@ <text:p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum consequat mi quis pretium semper. Proin luctus orci ac neque venenatis, quis commodo dolor posuere. Curabitur dignissim sapien quis cursus egestas. Donec blandit auctor arcu, nec pellentesque eros molestie eget. In consectetur aliquam hendrerit. Sed cursus mauris vitae ligula pellentesque, non pellentesque urna aliquet. Fusce placerat mauris enim, nec rutrum purus semper vel. Praesent tincidunt neque eu pellentesque pharetra. Fusce pellentesque est orci.</text:p> <text:p>Integer sodales tincidunt tristique. Sed a metus posuere, adipiscing nunc et, viverra odio. Donec auctor molestie sem, sit amet tristique lectus hendrerit sed. Cras sodales nisl sed orci mattis iaculis. Nunc eget dolor accumsan, pharetra risus a, vestibulum mauris. Nunc vulputate lobortis mollis. Vivamus nec tellus faucibus, tempor magna nec, facilisis felis. Donec commodo enim a vehicula pellentesque. Nullam vehicula vestibulum est vel ultricies.</text:p> <text:p>Aliquam velit massa, laoreet vel leo nec, volutpat facilisis eros. Donec consequat arcu ut diam tempor luctus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent vitae lacus vel leo sodales pharetra a a nibh. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nam luctus tempus nibh, fringilla dictum augue consectetur eget. Curabitur at ante sit amet tortor pharetra molestie eu nec ante. Mauris tincidunt, nibh eu sollicitudin molestie, dolor sapien congue tortor, a pulvinar sapien turpis sed ante. Donec nec est elementum, euismod nulla in, mollis nunc.</text:p> + <text:p/> </office:body> </office:document>
\ No newline at end of file |