summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLTableContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/SchXMLTableContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLTableContext.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index d129944c297c..4f460f9c71e8 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -205,8 +205,7 @@ template< typename T >
::std::vector< T > lcl_SequenceToVector( const uno::Sequence< T > & rSequence )
{
::std::vector< T > aResult( rSequence.getLength());
- ::std::copy( rSequence.getConstArray(), rSequence.getConstArray() + rSequence.getLength(),
- aResult.begin());
+ ::std::copy( rSequence.begin(), rSequence.end(), aResult.begin());
return aResult;
}