diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2011-11-02 13:50:20 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2011-11-02 13:50:20 +0530 |
commit | b645f9195f4da3014e001fb27b8a117d89c8f389 (patch) | |
tree | 9494d00b21c63b73dbcc7e203cb0327c6d66ede6 /oox | |
parent | 11e227371aa5f9bc6434ed9e14866c63555401f2 (diff) |
n#706792: Fix crash while opening certain pptx files.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/seriesconverter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/seriesconverter.cxx b/oox/source/drawingml/chart/seriesconverter.cxx index 8a98471abca9..3ed07e6b914a 100644 --- a/oox/source/drawingml/chart/seriesconverter.cxx +++ b/oox/source/drawingml/chart/seriesconverter.cxx @@ -196,7 +196,7 @@ void DataLabelConverter::convertFromModel( const Reference< XDataSeries >& rxDat PropertySet aPropSet( rxDataSeries->getDataPointByIndex( mrModel.mnIndex ) ); lclConvertLabelFormatting( aPropSet, getFormatter(), mrModel, rTypeGroup, false ); - if( !mrModel.mxLayout->mbAutoLayout ) + if( mrModel.mxLayout && !mrModel.mxLayout->mbAutoLayout ) { // bnc#694340 - nasty hack - chart2 cannot individually // place data labels, let's try to find a useful |