diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-03-08 16:41:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-08 16:41:23 +0000 |
commit | 6bacf391710c8ebaa42b083dc14fb13cff48cd16 (patch) | |
tree | 221aa37350e4e040e5190652cf93e117a64ddb79 /filter | |
parent | 278e30ccd45dab36d65c08fbaaf28aa69a23cf28 (diff) |
WaE: signed/unsigned comparison
Change-Id: I736b14b1cc99d5a653fcbb37a5588ff36008dda5
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 5d5809b7f78c..aa387ace2072 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -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; |