diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-20 09:32:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-20 13:39:14 +0100 |
commit | cd0dd31086bb43fcfcc95beb11aa30bb68d6c485 (patch) | |
tree | f45bb5ec0460043e6e6152431f29c336662dd1e2 | |
parent | 51b9042efea0984da96318812124836e292271d7 (diff) |
ofz#4334 Null-dereference READ
Change-Id: I64cf71566248d81713f251d95d435d51701d3188
Reviewed-on: https://gerrit.libreoffice.org/44949
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/filter/excel/xichart.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |