View | Details | Raw Unified | Return to issue 114268
Collapse All | Expand All

(-)svx/source/form/fmshimp.cxx (-20 / +20 lines)
Lines 4045-4070 Link Here
4045
4045
4046
    // activate our view if we are activated ourself
4046
    // activate our view if we are activated ourself
4047
	// FS - 30.06.99 - 67308
4047
	// FS - 30.06.99 - 67308
4048
	if ( _rCurrentView.GetImpl() && !_rCurrentView.IsDesignMode() )
4048
//	if ( _rCurrentView.GetImpl() && !_rCurrentView.IsDesignMode() )
4049
	{
4049
//	{
4050
		// load forms for the page the current view belongs to
4050
//		// load forms for the page the current view belongs to
4051
		if ( pPage )
4051
//		if ( pPage )
4052
		{
4052
//		{
4053
			if ( !pPage->GetImpl().hasEverBeenActivated() )
4053
//			if ( !pPage->GetImpl().hasEverBeenActivated() )
4054
				loadForms( pPage, FORMS_LOAD | ( _bSyncAction ? FORMS_SYNC : FORMS_ASYNC ) );
4054
//				loadForms( pPage, FORMS_LOAD | ( _bSyncAction ? FORMS_SYNC : FORMS_ASYNC ) );
4055
			pPage->GetImpl().setHasBeenActivated( );
4055
//			pPage->GetImpl().setHasBeenActivated( );
4056
		}
4056
//		}
4057
4057
//
4058
		// first-time initializations for the views
4058
//		// first-time initializations for the views
4059
		if ( !_rCurrentView.GetImpl()->hasEverBeenActivated( ) )
4059
//		if ( !_rCurrentView.GetImpl()->hasEverBeenActivated( ) )
4060
		{
4060
//		{
4061
			_rCurrentView.GetImpl()->onFirstViewActivation( PTR_CAST( FmFormModel, _rCurrentView.GetModel() ) );
4061
//			_rCurrentView.GetImpl()->onFirstViewActivation( PTR_CAST( FmFormModel, _rCurrentView.GetModel() ) );
4062
			_rCurrentView.GetImpl()->setHasBeenActivated( );
4062
//			_rCurrentView.GetImpl()->setHasBeenActivated( );
4063
		}
4063
//		}
4064
4064
//
4065
		// activate the current view
4065
//		// activate the current view
4066
		_rCurrentView.GetImpl()->Activate( _bSyncAction );
4066
//		_rCurrentView.GetImpl()->Activate( _bSyncAction );
4067
	}
4067
//	}
4068
4068
4069
    // set callbacks at the page
4069
    // set callbacks at the page
4070
    if ( pPage )
4070
    if ( pPage )

Return to issue 114268