Bug 53899 - ThisComponent.CurrentController is NULL when first calculating cell formulas
Summary: ThisComponent.CurrentController is NULL when first calculating cell formulas
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version: 3.6.1.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-21 23:08 UTC by Jim Avera
Modified: 2014-11-06 12:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Demo spreadsheet showing NULL CurrentController at start-up (15.69 KB, application/x-vnd.oasis.opendocument.spreadsheet)
2012-08-21 23:08 UTC, Jim Avera
Details

Description Jim Avera 2012-08-21 23:08:05 UTC
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.
Comment 1 Beluga 2014-11-06 12:02:38 UTC
Confirmed.

Win 7 64-bit Version: 4.4.0.0.alpha1+
Build ID: 8b21b5cbe78945b27525b4ce78ae3d981f90590f
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-06_03:55:51


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.