diff options
Diffstat (limited to 'chart2/source/model/main/DataSeries.cxx')
-rw-r--r-- | chart2/source/model/main/DataSeries.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/chart2/source/model/main/DataSeries.cxx b/chart2/source/model/main/DataSeries.cxx index 1a42a726646e..11c617481f02 100644 --- a/chart2/source/model/main/DataSeries.cxx +++ b/chart2/source/model/main/DataSeries.cxx @@ -275,18 +275,8 @@ void SAL_CALL DataSeries::getFastPropertyValue if( nHandle == DataSeriesProperties::PROP_DATASERIES_ATTRIBUTED_DATA_POINTS ) { // TODO: only add those property sets that are really modified - uno::Sequence< sal_Int32 > aSeq( m_aAttributedDataPoints.size()); - sal_Int32 * pIndexArray = aSeq.getArray(); - sal_Int32 i = 0; - for( tDataPointAttributeContainer::const_iterator aIt( m_aAttributedDataPoints.begin()); - aIt != m_aAttributedDataPoints.end(); ++aIt ) - { - pIndexArray[ i ] = (*aIt).first; - ++i; - } - - rValue <<= aSeq; + rValue <<= comphelper::mapKeysToSequence(m_aAttributedDataPoints); } else OPropertySet::getFastPropertyValue( rValue, nHandle ); |