tdf#161332 sw: fix missing selection of floating table
commit2f7bb481c57458a38769ebd961f07cc45767f1f7
authorLászló Németh <nemeth@numbertext.org>
Wed, 29 May 2024 23:22:59 +0000 (30 01:22 +0200)
committerLászló Németh <nemeth@numbertext.org>
Fri, 31 May 2024 07:47:59 +0000 (31 09:47 +0200)
tree9c2ebd82718cdb5a21a96ce0f8dc8b7ee6fea793
parentae92ffe8f058a86b35318517e6136701f1886d74
tdf#161332 sw: fix missing selection of floating table

A fixed-height cell can contain a bigger image, which is
cropped by cell boundaries. In this case, it was not
possible to select the floating table by clicking on its
right border.

Note: fix also tests of tdf#44773 and tdf#160836 related
to DPI-dependent platforms, see tdf#160992.

Follow-up to commit 30de13743f144aced83bc43d310592f82788c910
"tdf#160836 sw: resize rows at images cropped by row height"
and commit f3b899655018397e71300dbb32cdf4f82940a68b
"tdf#160842 sw: select cell content instead of cropped part of image".

Change-Id: I22c3e34f4c8147736c29b62722f7fc43c862ba48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168237
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: Jenkins
sw/inc/fesh.hxx
sw/qa/extras/uiwriter/uiwriter6.cxx
sw/source/core/frmedt/feshview.cxx
sw/source/uibase/docvw/edtwin.cxx