Remove code that never effectively did anything
... since inception in 44569a657c
"CWS-TOOLING:
integrate CWS bubblechart."
Change-Id: I1785ef41bf7146ea7f4d8927165c38317d7183e8
This commit is contained in:
@@ -162,14 +162,6 @@ void SAL_CALL BubbleChartTypeTemplate::applyStyle(
|
|||||||
{
|
{
|
||||||
ChartTypeTemplate::applyStyle( xSeries, nChartTypeIndex, nSeriesIndex, nSeriesCount );
|
ChartTypeTemplate::applyStyle( xSeries, nChartTypeIndex, nSeriesIndex, nSeriesCount );
|
||||||
DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints( xSeries, "BorderStyle", uno::makeAny( drawing::LineStyle_NONE ) );
|
DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints( xSeries, "BorderStyle", uno::makeAny( drawing::LineStyle_NONE ) );
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
}
|
|
||||||
catch( uno::Exception & ex )
|
|
||||||
{
|
|
||||||
ASSERT_EXCEPTION( ex );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ____ XChartTypeTemplate ____
|
// ____ XChartTypeTemplate ____
|
||||||
@@ -179,46 +171,6 @@ sal_Bool SAL_CALL BubbleChartTypeTemplate::supportsCategories()
|
|||||||
return false;
|
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 > BubbleChartTypeTemplate::getChartTypeForIndex( sal_Int32 /*nChartTypeIndex*/ )
|
||||||
{
|
{
|
||||||
Reference< chart2::XChartType > xResult;
|
Reference< chart2::XChartType > xResult;
|
||||||
|
@@ -61,11 +61,6 @@ protected:
|
|||||||
// ____ XChartTypeTemplate ____
|
// ____ XChartTypeTemplate ____
|
||||||
virtual sal_Bool SAL_CALL supportsCategories()
|
virtual sal_Bool SAL_CALL supportsCategories()
|
||||||
throw (::com::sun::star::uno::RuntimeException);
|
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
|
virtual ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartType > SAL_CALL
|
||||||
getChartTypeForNewSeries( const ::com::sun::star::uno::Sequence<
|
getChartTypeForNewSeries( const ::com::sun::star::uno::Sequence<
|
||||||
::com::sun::star::uno::Reference<
|
::com::sun::star::uno::Reference<
|
||||||
|
Reference in New Issue
Block a user