sc/source/filter/excel/xichart.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cd0dd31086bb43fcfcc95beb11aa30bb68d6c485 Author: Caolán McNamara <[email protected]> Date: Mon Nov 20 09:32:32 2017 +0000 ofz#4334 Null-dereference READ Change-Id: I64cf71566248d81713f251d95d435d51701d3188 Reviewed-on: https://gerrit.libreoffice.org/44949 Tested-by: Jenkins <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx index 571c47467576..4243fd08221e 100644 --- a/sc/source/filter/excel/xichart.cxx +++ b/sc/source/filter/excel/xichart.cxx @@ -1909,7 +1909,7 @@ void XclImpChSeries::FinalizeDataFormats() for (auto const& trendLine : maTrendLines) { trendLine->SetDataFormat(mxSeriesFmt); - if (mxTitleLink->HasString()) + if (mxTitleLink && mxTitleLink->HasString()) { trendLine->SetTrendlineName(mxTitleLink->GetString()); }
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
