diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-08-28 14:16:38 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-08-29 14:40:17 +0000 |
commit | 2ab0e4df9951009d68614583c0db3527e07f7bab (patch) | |
tree | 9e175e7853681bba60bda4e66777db2e2f7c66a6 /configure.ac | |
parent | 43003812ca085a642d262d5cbf1a63f8df043d40 (diff) |
fdo#66215: sw: fix clicking on text above background fly
SwPageFrm::GetCrsrOfst() tries to compare the distance to the closest
text vs. fly but does not do it right because GetCharRect()
returns just a line of width 1 on the left edge of the character;
try to figure out the entire area covered by the character via 2 calls
to GetCrsrOfst(), which gives much better clickability.
(regression from e8fbe97900f13305b17015d9044993bde4adab36)
Change-Id: I825e86daf65692dfb962ad576772c5f543d02d19
(cherry picked from commit edd2db1c783bd571ff796a5298385cacc91877b9)
Reviewed-on: https://gerrit.libreoffice.org/5660
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions