diff options
author | Muthu Subramanian <sumuthu@collabora.com> | 2013-10-22 15:13:41 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@collabora.com> | 2013-10-22 15:13:41 +0530 |
commit | e5f24e0c7c8f4799223c19359f4228f0b1a71461 (patch) | |
tree | c0fa1c9a9f581413caf4143c5dbd7508147acd9d /oox | |
parent | 6bb564b93d85493476d7879a29b6db85b76800f1 (diff) |
n#839727: Crash fix.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/seriesconverter.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/seriesconverter.cxx b/oox/source/drawingml/chart/seriesconverter.cxx index cc05567a4d99..1b56fef15dd4 100644 --- a/oox/source/drawingml/chart/seriesconverter.cxx +++ b/oox/source/drawingml/chart/seriesconverter.cxx @@ -660,7 +660,8 @@ Reference< XDataSeries > SeriesConverter::createDataSeries( const TypeGroupConve { // Use number format code from Value series DataSourceModel* pValues = mrModel.maSources.get( SeriesModel::VALUES ).get(); - xLabels->maNumberFormat.maFormatCode = pValues->mxDataSeq->maFormatCode; + if( pValues ) + xLabels->maNumberFormat.maFormatCode = pValues->mxDataSeq->maFormatCode; } DataLabelsConverter aLabelsConv( *this, *xLabels ); aLabelsConv.convertFromModel( xDataSeries, rTypeGroup ); |