Created attachment 119635 [details]
return createCollectionObject( m_xIndexAccess->getByIndex( nIndex - 1 ) );
my test code of vba:
when i run it, i get the error:
BASIC runtime error.
a patch related to this issue:
ccsheller committed a patch related to this issue.
It has been pushed to "master":
tdf#95077 Check Index != 0
It will be available in 5.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Since last stable LO version is 5.1.4, we can consider as FIXED.
If I'm wrong, don't hesitate to reopen this tracker.