diff --git a/chart2/source/model/template/BubbleChartTypeTemplate.cxx b/chart2/source/model/template/BubbleChartTypeTemplate.cxx index c9c3b6aaadc3..478a3fd50169 100644 --- a/chart2/source/model/template/BubbleChartTypeTemplate.cxx +++ b/chart2/source/model/template/BubbleChartTypeTemplate.cxx @@ -162,14 +162,6 @@ void SAL_CALL BubbleChartTypeTemplate::applyStyle( { ChartTypeTemplate::applyStyle( xSeries, nChartTypeIndex, nSeriesIndex, nSeriesCount ); DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints( xSeries, "BorderStyle", uno::makeAny( drawing::LineStyle_NONE ) ); - - try - { - } - catch( uno::Exception & ex ) - { - ASSERT_EXCEPTION( ex ); - } } // ____ XChartTypeTemplate ____ @@ -179,46 +171,6 @@ sal_Bool SAL_CALL BubbleChartTypeTemplate::supportsCategories() return false; } -sal_Bool SAL_CALL BubbleChartTypeTemplate::matchesTemplate( - const Reference< chart2::XDiagram >& xDiagram, - sal_Bool bAdaptProperties ) - throw (uno::RuntimeException) -{ - sal_Bool bResult = ChartTypeTemplate::matchesTemplate( xDiagram, bAdaptProperties ); - - if( bResult ) - { - ::std::vector< Reference< chart2::XDataSeries > > aSeriesVec( - DiagramHelper::getDataSeriesFromDiagram( xDiagram )); - - for( ::std::vector< Reference< chart2::XDataSeries > >::const_iterator aIt = - aSeriesVec.begin(); aIt != aSeriesVec.end(); ++aIt ) - { - try - { - } - catch( uno::Exception & ex ) - { - ASSERT_EXCEPTION( ex ); - } - } - } - - // adapt curve style, spline order and resolution - if( bResult && bAdaptProperties ) - { - try - { - } - catch( uno::Exception & ex ) - { - ASSERT_EXCEPTION( ex ); - } - } - - return bResult; -} - Reference< chart2::XChartType > BubbleChartTypeTemplate::getChartTypeForIndex( sal_Int32 /*nChartTypeIndex*/ ) { Reference< chart2::XChartType > xResult; diff --git a/chart2/source/model/template/BubbleChartTypeTemplate.hxx b/chart2/source/model/template/BubbleChartTypeTemplate.hxx index f5da3e3c0f1b..b7f4b4994eb6 100644 --- a/chart2/source/model/template/BubbleChartTypeTemplate.hxx +++ b/chart2/source/model/template/BubbleChartTypeTemplate.hxx @@ -61,11 +61,6 @@ protected: // ____ XChartTypeTemplate ____ virtual sal_Bool SAL_CALL supportsCategories() throw (::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL matchesTemplate( - const ::com::sun::star::uno::Reference< - ::com::sun::star::chart2::XDiagram >& xDiagram, - sal_Bool bAdaptProperties ) - throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartType > SAL_CALL getChartTypeForNewSeries( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference<