WaE: signed/unsigned comparison
Change-Id: I736b14b1cc99d5a653fcbb37a5588ff36008dda5
This commit is contained in:
@@ -1962,8 +1962,8 @@ sal_Int32 GetValueForEnhancedCustomShapeParameter( const com::sun::star::drawing
|
|||||||
{
|
{
|
||||||
case com::sun::star::drawing::EnhancedCustomShapeParameterType::EQUATION :
|
case com::sun::star::drawing::EnhancedCustomShapeParameterType::EQUATION :
|
||||||
{
|
{
|
||||||
OSL_ASSERT(nValue < rEquationOrder.size());
|
OSL_ASSERT(nValue < static_cast<sal_Int32>(rEquationOrder.size()));
|
||||||
if ( nValue < rEquationOrder.size() )
|
if ( nValue < static_cast<sal_Int32>(rEquationOrder.size()) )
|
||||||
{
|
{
|
||||||
nValue = (sal_uInt16)rEquationOrder[ nValue ];
|
nValue = (sal_uInt16)rEquationOrder[ nValue ];
|
||||||
nValue |= (sal_uInt32)0x80000000;
|
nValue |= (sal_uInt32)0x80000000;
|
||||||
|
Reference in New Issue
Block a user