[Libreoffice-commits] core.git: sw/source
Matteo Casalin
matteo.casalin at yahoo.com
Sun Dec 15 01:13:15 PST 2013
sw/source/core/unocore/unoportenum.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a9c7de326b9e405a9fb4447627ce1cd9883280e5
Author: Matteo Casalin <matteo.casalin at yahoo.com>
Date: Sun Dec 15 10:12:03 2013 +0100
Fix comparison between signed/unsigned
Change-Id: I0d969ebd523bd20fc36bd8ae63617f2d5a162fe3
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index f7f3c3e..97e78d2 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;
More information about the Libreoffice-commits
mailing list