tdf#129905 tdf#160365 sw: don't always draw text boundary on frames
commit47af9e64a573684eb42faa097e327e31777a2b58
authorJustin Luth <justin.luth@collabora.com>
Mon, 25 Mar 2024 23:20:32 +0000 (25 19:20 -0400)
committerMiklos Vajna <vmiklos@collabora.com>
Tue, 26 Mar 2024 12:32:49 +0000 (26 13:32 +0100)
tree03163eff4be27d984070616ac3f38bb0ec14c919
parent5bf7df62645f73ad69772f318ea3058dfd6fce12
tdf#129905 tdf#160365 sw: don't always draw text boundary on frames

This fixes a 7.6 regression caused by
commit 79811c27f34d3e752de1bc3959605c5d58ac2365
    tdf#129905 Create toggle for Section boundaries

This fixes the toggle for View - Text boundaries,
so now images can have their thin gray border removed.

This also fixes the toggle for View - Table boundaries.

Change-Id: Idb75debf173d64b14a6864c61b4524e46898975f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165297
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
sw/source/core/layout/paintfrm.cxx