Summary: |
ThisComponent.CurrentController is NULL when first calculating cell formulas |
Product: |
LibreOffice
|
Reporter: |
Jim Avera <jim.avera> |
Component: |
BASIC | Assignee: |
Not Assigned <libreoffice-bugs> |
Status: |
NEW
---
|
QA Contact: |
|
Severity: |
normal
|
|
|
Priority: |
medium
|
CC: |
todventtu
|
Version: |
3.6.1.1 rc | |
|
Hardware: |
x86-64 (AMD64) | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Demo spreadsheet showing NULL CurrentController at start-up
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 65919 [details] Demo spreadsheet showing NULL CurrentController at start-up In Basic macros, ThisComponent.CurrentController is not being initialized before evaluating formulas in spreadsheet cells the first time after start-up. Consequently, if a cell formula calls a macro which tries to access the current frame, an error occurs. After start-up the problem goes away, i.e. ThisComponent.CurrentController is defined. Please open the attached demo .ods file.