summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-12-15 10:12:03 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2013-12-15 10:12:49 +0100
commita9c7de326b9e405a9fb4447627ce1cd9883280e5 (patch)
tree3e6513b9f32adf09fe72c8974f53b2a512286b5a
parent7de5c34af36bfb787685ec8109b0c0358e241862 (diff)
Fix comparison between signed/unsigned
Change-Id: I0d969ebd523bd20fc36bd8ae63617f2d5a162fe3
-rw-r--r--sw/source/core/unocore/unoportenum.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index f7f3c3e374ba..97e78d2d990c 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -1064,7 +1064,7 @@ lcl_GetNextIndex(
}
if(!rBreakArr.empty())
{
- if(nRet < 0 || *rBreakArr.begin() < static_cast<sal_uInt32>(nRet))
+ if(nRet < 0 || *rBreakArr.begin() < nRet)
nRet = *rBreakArr.begin();
}
return nRet;