oox/source/drawingml/chart/chartspaceconverter.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 9485d88da541c8614582b9f927ae40b1c8991c56
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Wed Jan 24 20:24:12 2024 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Thu Jan 25 11:47:38 2024 +0100

    crashtesting: crash seen on import of forum-mso-en4-278652.xlsx
    
    probably an issue since:
    
    commit 135ce256ce9e879663d828ec6e699de521fad867
    Date:   Mon Aug 14 15:59:18 2023 +0200
    
        tdf#146487 Don't show generic diagram title when there is an empty 
title given
    
    Change-Id: I12d8d6e78a8435b998084221402b6bdfc4a1a433
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162526
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/oox/source/drawingml/chart/chartspaceconverter.cxx 
b/oox/source/drawingml/chart/chartspaceconverter.cxx
index f9b370e04d8f..9280d42ff25c 100644
--- a/oox/source/drawingml/chart/chartspaceconverter.cxx
+++ b/oox/source/drawingml/chart/chartspaceconverter.cxx
@@ -191,7 +191,8 @@ void ChartSpaceConverter::convertFromModel( const 
Reference< XShapes >& rxExtern
                                    && mrModel.mxTitle->mxTextProp.is()
                                    && mrModel.mxTitle->mxTextProp->isEmpty();
             // Also for tdf#146487
-            bool bEmptyRichText = mrModel.mxTitle->mxText.is()
+            bool bEmptyRichText = mrModel.mxTitle
+                && mrModel.mxTitle->mxText.is()
                 && mrModel.mxTitle->mxText->mxTextBody.is()
                 && mrModel.mxTitle->mxText->mxTextBody->isEmpty();
 

Reply via email to