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

New commits:
commit c9a3955845c54d228f1f4cee1aad61e648c7f899
Author:     Mike Kaganski <[email protected]>
AuthorDate: Wed Jan 14 07:09:06 2026 +0100
Commit:     Miklos Vajna <[email protected]>
CommitDate: Tue Jan 20 14:19:30 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]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197528
    Reviewed-by: Miklos Vajna <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    (cherry picked from commit 1707fe5d07feb47a0cffade629bcb6e3a16c2931)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197580
    Tested-by: Miklos Vajna <[email protected]>

diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index aac6bf268ba6..c3a5f0f99edc 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -4800,7 +4800,7 @@ tools::Long CalcHeightWithFlys( const SwFrame *pFrame )
 
             if ( pMaster )
             {
-                pObjs = static_cast<const 
SwTextFrame*>(pTmp)->FindMaster()->GetDrawObjs();
+                pObjs = pMaster->GetDrawObjs();
                 bIsFollow = true;
             }
         }

Reply via email to