summaryrefslogtreecommitdiff
path: root/toolkit/source
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/helper/formpdfexport.cxx4
1 files changed, 2 insertions, 2 deletions
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 ) );
}
}