Remove code that never effectively did anything
... since inception in 44569a657c4282757443ae06efc6441e571a0409 "CWS-TOOLING: integrate CWS bubblechart." Change-Id: I1785ef41bf7146ea7f4d8927165c38317d7183e8
This commit is contained in:
parent
6c992a54b6
commit
3c10c9ec66
@ -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;
|
||||
|
@ -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<
|
||||
|
Loading…
x
Reference in New Issue
Block a user