summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2010-03-26 10:43:05 +0100
committerIngrid Halama <iha@openoffice.org>2010-03-26 10:43:05 +0100
commit94f617bf9883284bb3c7db8a6004c39975d66bbc (patch)
treeb0a64aeb5512080d1bc8cb88b0a6756f5c957aed /chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
parentfe03f2e6f1779db3e08bac64a3e3bed1562d0a24 (diff)
chart45: make more failsafe
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx3
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 );
}
}