Commits

npower Developer  committed 7aa17e5

container_controls: remove ( now defunct ) #ifdef FAKE_VBA_EVENT_SUPPORT ( which prevents vba events for userforms from firing )

  • Participants
  • Parent commits 84ba14c

Comments (0)

Files changed (1)

File scripting/source/dlgprov/dlgevtatt.cxx

             Reference< XControlModel > xControlModel = xControl->getModel();
             Reference< XScriptEventsSupplier > xEventsSupplier( xControlModel, UNO_QUERY );
             attachEventsToControl( xControl, xEventsSupplier, Helper );
-#ifdef FAKE_VBA_EVENT_SUPPORT
             xEventsSupplier.set( getFakeVbaEventsSupplier( xControl, sDialogCodeName ) );
             Any newHelper(xControl );
             attachEventsToControl( xControl, xEventsSupplier, newHelper );
-#endif
             if ( xControlContainer.is() && !xDialog.is() )
             {
                 Sequence< Reference< XControl > > aControls = xControlContainer->getControls();