diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-05-18 10:51:18 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-05-19 14:38:03 +0200 |
commit | b213abcb77e19fa5d22af45c7ecd17c8a63af554 (patch) | |
tree | 3c068532a667ec0aadeddb5d523854f0fcd49c26 /linguistic | |
parent | 85d15cfaf9b0665d907e099d6588dea0ced556ff (diff) |
sw content controls, picture: replace placeholder image on click
Previous content control types (rich text, checkbox, dropdown) had the
cursor somewhere in the content control and click selected the content
control in the placeholder case.
The picture case is somewhat different: the content control has a single
as-char image, and by the time SwWrtShell::GotoContentControl() is
invoked, the picture frame is already selected.
All we have to do here is to trigger the file picker to select a
replacement and then insert that image to replace the already selected
frame's bitmap.
Change-Id: Id3ad94ed8f7e13b0ebc2f57327bb8c0b1e374a86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134511
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'linguistic')
0 files changed, 0 insertions, 0 deletions