Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]Implements API Application.EnableEvents | ||||||
---|---|---|---|---|---|---|---|
Product: | App Dev | Reporter: | lihuiibm <lihuibj> | ||||
Component: | vba | Assignee: | AOO issues mailing list <issues> | ||||
Status: | CONFIRMED --- | QA Contact: | |||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues | ||||
Version: | 3.3.0 or older (OOo) | ||||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
lihuiibm
2010-02-03 07:08:17 UTC
Created attachment 67560 [details]
Fix for this issue
New API, I have delivered into cws vbasupportdev300_hg couldn't we avoid introducing m_xApplication into ScVbaEventsHelper by making the ScVbaEventsHelper implementation use InheritedHelperInterfaceImpl1, that way you avoid duplicating the code for creating/accessing the Application object I tried to make ScVbaEventsHelper inherit InheritedHelperInterfaceImpl1, and get the XApplication by: const uno::Reference< ov::excel::XApplication > xApplication( Application(), uno::UNO_QUERY ); The xApplication is NULL, it seems can't get the Application instance through the XComponentContext instance of ScVbaEventsHelper. >it seems can't get the Application instance through the XComponentContext
>instance of ScVbaEventsHelper.
That, sounds like a bug
Reset assigne to the default "issues@openoffice.apache.org". |