diff options
Diffstat (limited to 'chart2/source/tools/DataSeriesHelper.cxx')
-rw-r--r-- | chart2/source/tools/DataSeriesHelper.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/chart2/source/tools/DataSeriesHelper.cxx b/chart2/source/tools/DataSeriesHelper.cxx index 646410dd28a9..c8dfbffec354 100644 --- a/chart2/source/tools/DataSeriesHelper.cxx +++ b/chart2/source/tools/DataSeriesHelper.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: DataSeriesHelper.cxx,v $ - * $Revision: 1.11 $ + * $Revision: 1.11.24.1 $ * * This file is part of OpenOffice.org. * @@ -176,17 +176,6 @@ OUString GetRole( const uno::Reference< chart2::data::XLabeledDataSequence >& xL return aRet; } -void SetRole( const uno::Reference< chart2::data::XLabeledDataSequence >& xLabeledDataSequence, - const ::rtl::OUString& rRole ) -{ - if( xLabeledDataSequence.is() ) - { - Reference< beans::XPropertySet > xProp( xLabeledDataSequence->getValues(), uno::UNO_QUERY ); - if( xProp.is() ) - xProp->setPropertyValue( C2U("Role"), uno::makeAny(rRole) ) ; - } -} - Reference< chart2::data::XLabeledDataSequence > getDataSequenceByRole( const Reference< chart2::data::XDataSource > & xSource, OUString aRole, |