INTEGRATION: CWS sb59 (1.6.28); FILE MERGED
2006/08/29 16:11:00 sb 1.6.28.1: #i67487# Made code warning-free (wntmsci10).
This commit is contained in:
parent
88716c0b82
commit
2e858778ed
1 changed files with 4 additions and 3 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: refvaluecomponent.cxx,v $
|
||||
*
|
||||
* $Revision: 1.7 $
|
||||
* $Revision: 1.8 $
|
||||
*
|
||||
* last change: $Author: obo $ $Date: 2006-09-16 23:55:25 $
|
||||
* last change: $Author: obo $ $Date: 2006-10-12 11:13:41 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -236,7 +236,8 @@ namespace frm
|
|||
Any aExternalValue = getExternalValueBinding()->getValue( ::getCppuType( static_cast< sal_Bool* >( NULL ) ) );
|
||||
sal_Bool bState = sal_False;
|
||||
if ( aExternalValue >>= bState )
|
||||
nState = bState ? STATE_CHECK : STATE_NOCHECK;
|
||||
nState = sal::static_int_cast< sal_Int16 >(
|
||||
bState ? STATE_CHECK : STATE_NOCHECK );
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue