[Libreoffice-commits] core.git: sw/source

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 3 13:40:14 UTC 2021


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

New commits:
commit ecb3f0a4919414a736a14b27b7d44c95cec607b1
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Mar 3 11:22:12 2021 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Mar 3 14:39:32 2021 +0100

    sw: document the abbreviations from DR's magic
    
    aLFromB and friends are mentioned at 3 places in sw, but nothing was
    explaining what it means.
    
    Change-Id: I877395da7b5384431288fea8f454646edfe8c05f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111869
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index b3c940b87cea..c549b5ffeb46 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2632,6 +2632,8 @@ void SwTabFramePainter::FindStylesForLine( const Point& rStartPoint,
                                          svx::frame::Style* pStyles,
                                          bool bHori ) const
 {
+    // For example, aLFromB means: this vertical line intersects my horizontal line at its left end,
+    // from bottom.
     // pStyles[ 1 ] = bHori ? aLFromT : TFromL
     // pStyles[ 2 ] = bHori ? aLFromL : TFromT,
     // pStyles[ 3 ] = bHori ? aLFromB : TFromR,


More information about the Libreoffice-commits mailing list