sw/source/core/layout/paintfrm.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 1a1a9b84ef4d72f8604b94a2015b473f9a2d074b
Author:     Andras Timar <andras.ti...@collabora.com>
AuthorDate: Sun Dec 17 10:59:57 2023 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Mon Dec 18 18:26:00 2023 +0100

    Hide text boundaries by default - cool#3491
    
    Change-Id: I13d759e0782d2973957cc1bfbc28853ab5c3bc38
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160880
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/sw/source/core/layout/paintfrm.cxx 
b/sw/source/core/layout/paintfrm.cxx
index bf7e1956f5c7..5f4292ad836d 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -7015,6 +7015,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() };

Reply via email to