sc/source/core/data/patattr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e872cbb01f6f8a21ed1f4cac0ac4e13a41531b05
Author:     Xisco Fauli <[email protected]>
AuthorDate: Fri Feb 6 11:57:44 2026 +0100
Commit:     Xisco Fauli <[email protected]>
CommitDate: Fri Feb 6 17:20:03 2026 +0100

    sc: fix warning C6011: Dereferencing NULL pointer 'pFontAttr'
    
    
E:/jenkins/workspace/lo_tb_master_win_analyze/sc/source/core/data/patattr.cxx(770):
 error C2220: the following warning is treated as an error
    E:\jenkins\workspace\lo_tb_master_win_analyze\sc\source    
    Since
    commit 365cdb242f2812292b5b2fec854b25f389d6787f
    Author: Balazs Varga <[email protected]>
    Date:   Wed Oct 8 08:16:38 2025 +0200
    
        Support Font styles in Table styles
    
    Change-Id: I9050f3059d3aab958b55b0a4b76882af7d4a96f8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198828
    Reviewed-by: Xisco Fauli <[email protected]>
    Tested-by: Jenkins

diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx
index 0fbc6d26f83e..9ab4d2b3d2ea 100644
--- a/sc/source/core/data/patattr.cxx
+++ b/sc/source/core/data/patattr.cxx
@@ -711,7 +711,7 @@ void ScPatternAttr::fillFontOnly(
         // for graphite language features
         eLang = rItemSet.Get( nLangId ).GetLanguage();
     }
-    OSL_ENSURE(pFontAttr,"Oops?");
+    assert(pFontAttr);
 
     //  Evaluate
 

Reply via email to