diff options
Diffstat (limited to 'chart2/source/model/main/DataSeries.cxx')
-rw-r--r-- | chart2/source/model/main/DataSeries.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/source/model/main/DataSeries.cxx b/chart2/source/model/main/DataSeries.cxx index 9f863f888dd0..9008ab8e664b 100644 --- a/chart2/source/model/main/DataSeries.cxx +++ b/chart2/source/model/main/DataSeries.cxx @@ -686,6 +686,8 @@ OUString DataSeries::getLabelForRole( const OUString & rLabelSequenceRole ) static bool lcl_SequenceHasUnhiddenData( const uno::Reference< chart2::data::XDataSequence >& xDataSequence ) { + if (!xDataSequence.is()) + return false; uno::Reference< beans::XPropertySet > xProp( xDataSequence, uno::UNO_QUERY ); if( xProp.is() ) { |