From 81610561edfb8c899a062cc09fc1a80e8098577f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 3 Jun 2015 15:16:19 +0200 Subject: uno::Sequence provides now begin and end use begin() and end() when calling std::copy on an uno::Sequence Inspired by commit b34b648fc3262c5d9aa295f621e8fe9c97d4c6b2 "uno::Sequence provides now begin and end" Change-Id: I08e8c3fd6144e77b95a26f85bc0daf6a9edeeb0b Reviewed-on: https://gerrit.libreoffice.org/16057 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- toolkit/source/helper/formpdfexport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit/source') diff --git a/toolkit/source/helper/formpdfexport.cxx b/toolkit/source/helper/formpdfexport.cxx index e498fb0d512b..acc0307215ad 100644 --- a/toolkit/source/helper/formpdfexport.cxx +++ b/toolkit/source/helper/formpdfexport.cxx @@ -246,8 +246,8 @@ namespace toolkitform static const char FM_PROP_STRINGITEMLIST[] = "StringItemList"; Sequence< OUString > aListEntries; OSL_VERIFY( _rxModel->getPropertyValue( FM_PROP_STRINGITEMLIST ) >>= aListEntries ); - ::std::copy( aListEntries.getConstArray(), aListEntries.getConstArray() + aListEntries.getLength(), - ::std::back_insert_iterator< ::std::vector< OUString > >( _rVector ) ); + ::std::copy( aListEntries.begin(), aListEntries.end(), + ::std::back_insert_iterator< ::std::vector< OUString > >( _rVector ) ); } } -- cgit