https://bugs.documentfoundation.org/show_bug.cgi?id=126399
Bug ID: 126399
Summary: Members remain in SbiStdObject until LibreOffice is
closed.
Product: LibreOffice
Version: 6.4.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: himajin100...@gmail.com
Description:
see steps to reproduce
Steps to Reproduce:
0. Take a look at the following codes.
Make sure that ChrW is COMPATONLY_ Function.
Make sure that Blue is NORMONLY_ Function.
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/stdobj.cxx?r=7283125c#136
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/stdobj.cxx?r=7283125c#87
Steps A:
1. Open the attached ChrW.odt
2. Run Main() in ChrW.odt
3. Error is given as follows(Expected)
BASIC runtime error.
Sub-procedure or function procedure not defined.
4. Close the error dialog
5. Modify the source so that Option VBASupport is 1
6. Run Main() again
7. the macro runs without errors(Expected)
8. Modify the source so that Option VBASupport is 0
9. the runs without errors(UNEXPECTED)
10. Close all the LibreOffice applications, and then reopen ChrW.odt
11. We have VBASupport 0. When we run Main(), it gives me the same
error(Expected)
Steps B:
1. Open the attached Blue.odt
2. Run Main() in Blue.odt
3. Error is given as follows(Expected)
BASIC runtime error.
Sub-procedure or function procedure not defined.
4. Close the error dialog
5. Modify the source so that Option VBASupport is 0
6. Run Main() again
7. the macro runs without errors(Expected)
8. Modify the source so that Option VBASupport is 1
9. the runs without errors(UNEXPECTED)
10. Close all the LibreOffice applications, and then reopen Blue.odt
11. We have VBASupport 1. When we run Main(), it gives me the same
error(Expected)
Actual Results:
Main()s unexpectedly runs without errors in A-9 and B-9
Expected Results:
Main()s stop with errors in A-9 and B-9
Reproducible: Always
User Profile Reset: No
Additional Info:
once methods are added to the candidate list, the runtime never removes the
additions?
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/stdobj.cxx?r=7283125c#753
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs