User: hr Date: 2006/08/11 10:16:42 Modified: dba/dbaccess/source/ui/browser/genericcontroller.cxx
Log: INTEGRATION: CWS fwk44 (1.70.26); FILE MERGED 2006/08/07 10:13:23 fs 1.70.26.1: #i68215# File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: genericcontroller.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/genericcontroller.cxx?r1=1.70&r2=1.71 Delta lines: +9 -2 ------------------- --- genericcontroller.cxx 10 Jul 2006 15:23:57 -0000 1.70 +++ genericcontroller.cxx 11 Aug 2006 17:16:40 -0000 1.71 @@ -452,10 +452,17 @@ // ................................................................... void lcl_collectStates( const FeatureState& _rFeatureState, States& _out_rStates ) { - if ( !!_rFeatureState.bChecked ) - _out_rStates.push_back( makeAny( (sal_Bool)*_rFeatureState.bChecked ) ); + // order matters, due to a bug in framework which resets the check state when any non-boolean event + // arrives + // #i68215# is the bug to (re-)introduce this "ordered" notification here + // #i67882# is the bug which was caused by the real fix which we did in framework + // #i68216# is the bug which requests to fix the code in Draw which relies on + // framework's implementation details + // 2006-08-07 / [EMAIL PROTECTED] if ( !!_rFeatureState.sTitle ) _out_rStates.push_back( makeAny( *_rFeatureState.sTitle ) ); + if ( !!_rFeatureState.bChecked ) + _out_rStates.push_back( makeAny( (sal_Bool)*_rFeatureState.bChecked ) ); if ( _out_rStates.empty() ) _out_rStates.push_back( Any() ); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
