diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-28 17:56:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-28 17:58:03 +0100 |
commit | 3c10c9ec665a218ff331994ea3fa35cf2f4cd60e (patch) | |
tree | 1b5493c8ecd025ee8084fb4d4ebd6fcc7a5e95a5 /chart2 | |
parent | 6c992a54b662d39c860784aff7357b163db63dfb (diff) |
Remove code that never effectively did anything
... since inception in 44569a657c4282757443ae06efc6441e571a0409 "CWS-TOOLING:
integrate CWS bubblechart."
Change-Id: I1785ef41bf7146ea7f4d8927165c38317d7183e8
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/template/BubbleChartTypeTemplate.cxx | 48 | ||||
-rw-r--r-- | chart2/source/model/template/BubbleChartTypeTemplate.hxx | 5 |
2 files changed, 0 insertions, 53 deletions
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< |