Apache OpenOffice (AOO) Bugzilla – Issue 108880
[From Symphony]Implements API Application.EnableEvents
Last modified: 2017-05-20 11:29:33 UTC
Implements API Application.EnableEvents
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".