Kaydet (Commit) 6bacf391 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: signed/unsigned comparison

Change-Id: I736b14b1cc99d5a653fcbb37a5588ff36008dda5
üst 278e30cc
......@@ -1962,8 +1962,8 @@ sal_Int32 GetValueForEnhancedCustomShapeParameter( const com::sun::star::drawing
{
case com::sun::star::drawing::EnhancedCustomShapeParameterType::EQUATION :
{
OSL_ASSERT(nValue < rEquationOrder.size());
if ( nValue < rEquationOrder.size() )
OSL_ASSERT(nValue < static_cast<sal_Int32>(rEquationOrder.size()));
if ( nValue < static_cast<sal_Int32>(rEquationOrder.size()) )
{
nValue = (sal_uInt16)rEquationOrder[ nValue ];
nValue |= (sal_uInt32)0x80000000;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment