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

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 30 14:15:13 UTC 2019


 sw/source/core/inc/layfrm.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 308343c7389a4de726995709f6344f3da44ffe1b
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Oct 30 09:52:05 2019 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Oct 30 15:13:33 2019 +0100

    sw: document what is an SwLayoutFrame
    
    It confused me that we have an SwFrame::GetLower(), but that always
    returns nullptr for any non-layout frames.
    
    Change-Id: I6dd5ddbede852ed6c702a9216439aedf985353db
    Reviewed-on: https://gerrit.libreoffice.org/81736
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/inc/layfrm.hxx b/sw/source/core/inc/layfrm.hxx
index f39c9ae513e9..f7d90f00d8f6 100644
--- a/sw/source/core/inc/layfrm.hxx
+++ b/sw/source/core/inc/layfrm.hxx
@@ -31,6 +31,7 @@ class SwBorderAttrs;
 class SwFormatFrameSize;
 class SwCellFrame;
 
+/// A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame.
 class SW_DLLPUBLIC SwLayoutFrame: public SwFrame
 {
     // The SwFrame in disguise


More information about the Libreoffice-commits mailing list