https://bugs.documentfoundation.org/show_bug.cgi?id=95077

            Bug ID: 95077
           Summary: check index !=0 in sw's vba Panes
           Product: LibreOffice
           Version: 5.1.0.0.alpha0+ Master
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 119635
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119635&action=edit
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:

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to