diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-02-23 09:43:22 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-02-23 09:43:22 +0100 |
commit | df2a51edb0119d25465117c7a21baa75c34f99cb (patch) | |
tree | 2ab43dd5ed0ec294883b48b794351cbffd7fd0f9 /svx | |
parent | 5ef36f28c6c5eaf36c7be814b975d4c6ce9224ea (diff) |
dba34d: fixed attemptListenerCreation
(transplanted from ee617dd09545040933f21b8333864f70bd8f8d52)
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmundo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index 8a72cb768d5f..ecbfc8afbe1a 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -129,7 +129,7 @@ private: { ::comphelper::ComponentContext const aContext( ::comphelper::getProcessServiceFactory() ); Reference< XScriptListener > const xScriptListener( aContext.createComponent( "ooo.vba.EventListener" ), UNO_QUERY_THROW ); - Reference< XPropertySet > const xListenerProps( m_vbaListener, UNO_QUERY_THROW ); + Reference< XPropertySet > const xListenerProps( xScriptListener, UNO_QUERY_THROW ); // SfxObjectShellRef is good here since the model controls the lifetime of the shell SfxObjectShellRef const xObjectShell = m_rModel.GetObjectShell(); ENSURE_OR_THROW( xObjectShell.Is(), "no object shell!" ); |