sw/source/core/layout/paintfrm.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 133959ca7658920928631eee99807aff2b77dc5f Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Sun Dec 17 10:59:57 2023 +0100 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Mon Dec 18 19:50:02 2023 +0100 Hide text boundaries by default - cool#3491 Change-Id: I13d759e0782d2973957cc1bfbc28853ab5c3bc38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160932 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Jenkins diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 6bf137b19740..13599eda28a0 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -7164,6 +7164,10 @@ static std::vector<basegfx::B2DPolygon> lcl_CreatePageAreaDelimiterPolygons(cons { std::vector<basegfx::B2DPolygon> aPolygons; + // Hide text boundaries by default - cool#3491 + if (comphelper::LibreOfficeKit::isActive()) + return aPolygons; + double nLineLength = 200.0; // in Twips Point aPoints[] = { rRect.TopLeft(), rRect.TopRight(), rRect.BottomRight(), rRect.BottomLeft() };