diff options
Diffstat (limited to 'oox/source/drawingml/chart/chartspaceconverter.cxx')
-rw-r--r-- | oox/source/drawingml/chart/chartspaceconverter.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/chartspaceconverter.cxx b/oox/source/drawingml/chart/chartspaceconverter.cxx index 44ae5c0e95b2..822ac520d66b 100644 --- a/oox/source/drawingml/chart/chartspaceconverter.cxx +++ b/oox/source/drawingml/chart/chartspaceconverter.cxx @@ -84,9 +84,12 @@ ChartSpaceConverter::~ChartSpaceConverter() void ChartSpaceConverter::convertFromModel( const Reference< XShapes >& rxExternalPage, const Point& rChartPos ) { + if( !getChartConverter() ) + return; + /* create data provider (virtual function in the ChartConverter class, derived converters may create an external data provider) */ - getChartConverter().createDataProvider( getChartDocument() ); + getChartConverter()->createDataProvider( getChartDocument() ); // attach number formatter of container document to data receiver try |