Tag: cws_src680_fwk44 User: fs Date: 2006/08/07 03:13:26 Modified: dba/dbaccess/source/ui/browser/genericcontroller.cxx
Log: #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.70.26.1 Delta lines: +12 -5 -------------------- --- genericcontroller.cxx 10 Jul 2006 15:23:57 -0000 1.70 +++ genericcontroller.cxx 7 Aug 2006 10:13:23 -0000 1.70.26.1 @@ -4,9 +4,9 @@ * * $RCSfile: genericcontroller.cxx,v $ * - * $Revision: 1.70 $ + * $Revision: 1.70.26.1 $ * - * last change: $Author: obo $ $Date: 2006/07/10 15:23:57 $ + * last change: $Author: fs $ $Date: 2006/08/07 10:13:23 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -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]
