diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-07-04 17:40:09 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-07-04 18:22:06 +0200 |
commit | b382025abcd05ff75dd2cbe46df76213d4913f00 (patch) | |
tree | 792ea8a0298faaf531379b5793af5f98a52c459c /translations | |
parent | 9a4980c3b16a8068d6ebba8377d2c5c0cb4b2367 (diff) |
sw comments on frames: fix comment insert for as-char frame at para start
This adapts SwWrtShell::InsertPostIt() to behave similar to commit
86fd893e32ef7a737b2c4b60e0938146b102fc07 (sw comments on frames: delete
comment of frame when deleting frame, 2019-07-03), i.e. instead of
hoping that the cursor will be at the end of paragraph and traveling
back, just set the cursor to the remembered anchor position.
This is cleaner, and as a side-effect also fixes the scenario when
creating a comment on an as-char image, which happens to be at the start
of the paragraph.
Change-Id: Iedca0feb62242677b6e8b69ef7b813d6da72c8eb
Reviewed-on: https://gerrit.libreoffice.org/75093
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'translations')
0 files changed, 0 insertions, 0 deletions