sw/source/core/inc/frame.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit aa55c773ee1f8e756de6959781a293bcfc243952 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Mon Mar 6 20:03:23 2023 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Tue Mar 7 07:12:56 2023 +0000 sw: document SwFrame::MakePos() I.e. the simplest SwLayoutFrame::MakeAll() mostly just calls MakePos() and Format(). Change-Id: I13d37c2bddfdd57503c1de974e34acd004e57195 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148360 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index f1433a10f590..ec47266ec468 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -457,6 +457,8 @@ protected: SwPageFrame *InsertPage( SwPageFrame *pSibling, bool bFootnote ); void PrepareMake(vcl::RenderContext* pRenderContext); void OptPrepareMake(); + /// Calculates the frame area position, in case it's invalid. The frame area size and the print + /// area is not considered here. virtual void MakePos(); // Format next frame of table frame to assure keeping attributes. // In case of nested tables method <SwFrame::MakeAll()> is called to @@ -658,7 +660,7 @@ public: bool IsFootnoteAllowed() const; /// Calculates the frame area size and the print area, in case they are invalid. - /// The frame are position is not considered here. + /// The frame area position is not considered here. virtual void Format( vcl::RenderContext* pRenderContext, const SwBorderAttrs *pAttrs = nullptr ); virtual void CheckDirection( bool bVert );