Kaydet (Commit) dd31f0d9 authored tarafından David Tardon's avatar David Tardon

simplify

üst 9e848f19
......@@ -273,14 +273,7 @@ void SfxEventConfiguration::ConfigureEvent( rtl::OUString aName, const SvxMacro&
SvxMacro *pMacro = NULL;
if ( rMacro.GetMacName().Len() )
pMacro = new SvxMacro( rMacro.GetMacName(), rMacro.GetLibName(), rMacro.GetScriptType() );
if ( pDoc )
{
PropagateEvent_Impl( pDoc, aName, pMacro );
}
else
{
PropagateEvent_Impl( NULL, aName, pMacro );
}
PropagateEvent_Impl( pDoc ? pDoc : 0, aName, pMacro );
}
// -------------------------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment