sw/source/core/layout/tabfrm.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eba5f256620253ad3193e2873ea79db0ddfb1dff
Author:     Mike Kaganski <[email protected]>
AuthorDate: Wed Jan 14 07:09:06 2026 +0100
Commit:     Mike Kaganski <[email protected]>
CommitDate: Wed Jan 14 08:53:39 2026 +0100

    pMaster is already the object we need - avoid finding it again
    
    Change-Id: I1d719631053a8335c49cc55e4c98e602732e1117
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197231
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 236a740e6b29..27b3af4ac3c2 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -4814,7 +4814,7 @@ static tools::Long CalcHeightWithFlys_Impl(const SwFrame* 
pTmp, const SwFrame* p
 
         if ( pMaster )
         {
-            pObjs = static_cast<const 
SwTextFrame*>(pTmp)->FindMaster()->GetDrawObjs();
+            pObjs = pMaster->GetDrawObjs();
             bIsFollow = true;
         }
     }

Reply via email to