diff options
Diffstat (limited to 'sw/source/core/inc')
-rw-r--r-- | sw/source/core/inc/frame.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index 77c7b9802c80..379bf08f829a 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -426,7 +426,7 @@ protected: SwPageFrame *InsertPage( SwPageFrame *pSibling, bool bFootnote ); void PrepareMake(vcl::RenderContext* pRenderContext); void OptPrepareMake(); - void MakePos(); + virtual void MakePos(); // Format next frame of table frame to assure keeping attributes. // In case of nested tables method <SwFrame::MakeAll()> is called to // avoid formatting of superior table frame. diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index be1c5e2c6273..d332122689d7 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -154,6 +154,8 @@ class SW_DLLPUBLIC SwTextFrame: public SwContentFrame // Formats the Follow and ensures disposing on orphans bool CalcFollow( const sal_Int32 nTextOfst ); + virtual void MakePos() override; + // Corrects the position from which we need to format static sal_Int32 FindBrk(const OUString &rText, const sal_Int32 nStart, const sal_Int32 nEnd); |