summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-12 03:13:41 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-12 20:04:48 +0200
commitb34b648fc3262c5d9aa295f621e8fe9c97d4c6b2 (patch)
treea520f63cccc1a0e1abe715aefb0c5933f34b2491 /oox
parentceac38106de4f2657e854d5e1d657d6df9321032 (diff)
uno::Sequence provides now begin and end
Change-Id: I7af0db5381737c7d28a491e4aca673d9cc4b1e19
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 4fcf8033ee74..8a9c30f34652 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -161,7 +161,7 @@ template< typename T >
void lcl_SequenceToVectorAppend( const Sequence< T > & rSource, ::std::vector< T > & rDestination )
{
rDestination.reserve( rDestination.size() + rSource.getLength());
- ::std::copy( rSource.getConstArray(), rSource.getConstArray() + rSource.getLength(),
+ ::std::copy( rSource.begin(), rSource.end(),
::std::back_inserter( rDestination ));
}
@@ -377,7 +377,7 @@ void lcl_fillCategoriesIntoStringVector(
{
rOutCategories.clear();
Sequence< OUString > aTextData( xTextualDataSequence->getTextualData());
- ::std::copy( aTextData.getConstArray(), aTextData.getConstArray() + aTextData.getLength(),
+ ::std::copy( aTextData.begin(), aTextData.end(),
::std::back_inserter( rOutCategories ));
}
else
@@ -399,7 +399,7 @@ void lcl_fillCategoriesIntoStringVector(
if( xNumSeq.is())
{
Sequence< double > aValues( xNumSeq->getNumericalData());
- ::std::copy( aValues.getConstArray(), aValues.getConstArray() + aValues.getLength(),
+ ::std::copy( aValues.begin(), aValues.end(),
::std::back_inserter( aResult ));
}
else if( xSeq.is())