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:14:50 +0530 |
commit | 3b7487c8eaabe65b9019702ab8e0f9c919d81eac (patch) | |
tree | 7b64bf50eb028a2dedab01e876e68da1f6d069f1 | |
parent | 59f17072a0999c83293a0497132fc08dfd7d3f5e (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 ); |