[Libreoffice-commits] core.git: filter/source
Caolán McNamara
caolanm at redhat.com
Fri Mar 8 08:42:02 PST 2013
filter/source/msfilter/escherex.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6bacf391710c8ebaa42b083dc14fb13cff48cd16
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 8 16:41:23 2013 +0000
WaE: signed/unsigned comparison
Change-Id: I736b14b1cc99d5a653fcbb37a5588ff36008dda5
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 5d5809b..aa387ac 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;
More information about the Libreoffice-commits
mailing list