diff options
author | Muthu Subramanian <sumuthu@collabora.com> | 2013-10-22 15:13:41 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-05 12:34:16 +0100 |
commit | f05df6cd281a3e4530e33899dfb1fc80383386c9 (patch) | |
tree | c674bbe50c61a4779b4a97ae3da519dfcd4023a0 | |
parent | 506e4cb68cc01ff9934ca02422cdb0a89f4f7eae (diff) |
n#839727: Crash fix.
-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 e2f90342af60..419a316dbd46 100644 --- a/oox/source/drawingml/chart/seriesconverter.cxx +++ b/oox/source/drawingml/chart/seriesconverter.cxx @@ -631,7 +631,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 ); |