summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2024-05-30 01:22:59 +0200
committerLászló Németh <nemeth@numbertext.org>2024-05-31 09:47:59 +0200
commit2f7bb481c57458a38769ebd961f07cc45767f1f7 (patch)
tree9c2ebd82718cdb5a21a96ce0f8dc8b7ee6fea793 /sw/inc
parentae92ffe8f058a86b35318517e6136701f1886d74 (diff)
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
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/fesh.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 1c2d917ffd7c..b032a0b05b7b 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -297,7 +297,7 @@ public:
/** Test if there is a draw object at that position and if it should be selected.
The 'should' is aimed at Writer text fly frames which may be in front of
the draw object. */
- bool ShouldObjectBeSelected(const Point& rPt);
+ bool ShouldObjectBeSelected(const Point& rPt, bool *pSelectFrameInsteadOfCroppedImage = nullptr);
bool MoveAnchor( SwMove nDir );