summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/scriptdocument.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/scriptdocument.cxx')
-rw-r--r--basctl/source/basicide/scriptdocument.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index b318aa932ca7..7fdb066834d3 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -1277,7 +1277,7 @@ namespace basctl
Sequence< OUString > aUsedNames( getObjectNames( _eType, _rLibName ) );
::std::set< OUString > aUsedNamesCheck;
- ::std::copy( aUsedNames.getConstArray(), aUsedNames.getConstArray() + aUsedNames.getLength(),
+ ::std::copy( aUsedNames.begin(), aUsedNames.end(),
::std::insert_iterator< ::std::set< OUString > >( aUsedNamesCheck, aUsedNamesCheck.begin() ) );
bool bValid = false;