summaryrefslogtreecommitdiff
path: root/scripting/source/provider/BrowseNodeFactoryImpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/provider/BrowseNodeFactoryImpl.cxx')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index 1366f0d24f6b..6caa71c406b6 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -104,7 +104,7 @@ public:
sal_Int32 index = 0;
for ( const Sequence< Reference < browse::XBrowseNode > >& children : seqs )
{
- std::copy(children.begin(), children.end(), std::next(result.begin(), index));
+ std::copy(children.begin(), children.end(), std::next(result.getArray(), index));
index += children.getLength();
if (index >= numChildren)