Created attachment 119635 [details] swvbapanesindex.doc follow code: ScVbaCollectionBase::getItemByIntIndex .... return createCollectionObject( m_xIndexAccess->getByIndex( nIndex - 1 ) ); .... my test code of vba: Application.ActiveWindow.Panes(1).View when i run it, i get the error: BASIC runtime error. '1' Type: com.sun.star.lang.IndexOutOfBoundsException Message:
a patch related to this issue: https://gerrit.libreoffice.org/#/c/19239/
ccsheller committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=67b4adc473c14f6ab72c27b52e77a76ed387dccc 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: http://wiki.documentfoundation.org/Testing_Daily_Builds 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.