diff options
Diffstat (limited to 'chart2/source/tools/DataSeriesHelper.cxx')
-rw-r--r-- | chart2/source/tools/DataSeriesHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/DataSeriesHelper.cxx b/chart2/source/tools/DataSeriesHelper.cxx index a8a84deb5a67..34fd73540e64 100644 --- a/chart2/source/tools/DataSeriesHelper.cxx +++ b/chart2/source/tools/DataSeriesHelper.cxx @@ -230,7 +230,7 @@ std::vector< Reference< chart2::data::XLabeledDataSequence > > const OUString& aRole, bool bMatchPrefix /* = false */ ) { std::vector< Reference< chart2::data::XLabeledDataSequence > > aResultVec; - std::remove_copy_if( aDataSequences.getConstArray(), aDataSequences.getConstArray() + aDataSequences.getLength(), + std::remove_copy_if( aDataSequences.begin(), aDataSequences.end(), std::back_inserter( aResultVec ), [&aRole, bMatchPrefix](const Reference< chart2::data::XLabeledDataSequence > & xSeq) {return !(lcl_MatchesRole(aRole, bMatchPrefix).operator()(xSeq));}); |