summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-02-23 09:43:22 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-02-23 09:43:22 +0100
commitdf2a51edb0119d25465117c7a21baa75c34f99cb (patch)
tree2ab43dd5ed0ec294883b48b794351cbffd7fd0f9 /svx
parent5ef36f28c6c5eaf36c7be814b975d4c6ce9224ea (diff)
dba34d: fixed attemptListenerCreation
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmundo.cxx2
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!" );