diff options
author | Ingrid Halama <iha@openoffice.org> | 2010-03-26 10:43:05 +0100 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2010-03-26 10:43:05 +0100 |
commit | 94f617bf9883284bb3c7db8a6004c39975d66bbc (patch) | |
tree | b0a64aeb5512080d1bc8cb88b0a6756f5c957aed /chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx | |
parent | fe03f2e6f1779db3e08bac64a3e3bed1562d0a24 (diff) |
chart45: make more failsafe
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx index 253699f4595c..cad005b9c06a 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx @@ -482,7 +482,8 @@ void ChartDataWrapper::fireChartDataChangeEvent( uno::Reference< ::com::sun::star::chart::XChartDataChangeEventListener > xListener( aIter.next(), uno::UNO_QUERY ); - xListener->chartDataChanged( aEvent ); + if( xListener.is() ) + xListener->chartDataChanged( aEvent ); } } |