You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pa...@apache.org on 2013/04/29 20:06:52 UTC
svn commit: r1477239 - /openoffice/trunk/main/svx/source/xoutdev/xtable.cxx
Author: paveljanik
Date: Mon Apr 29 18:06:52 2013
New Revision: 1477239
URL: http://svn.apache.org/r1477239
Log:
Cast unsigned constant to prevent compiler warning.
Modified:
openoffice/trunk/main/svx/source/xoutdev/xtable.cxx
Modified: openoffice/trunk/main/svx/source/xoutdev/xtable.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/xoutdev/xtable.cxx?rev=1477239&r1=1477238&r2=1477239&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/xoutdev/xtable.cxx (original)
+++ openoffice/trunk/main/svx/source/xoutdev/xtable.cxx Mon Apr 29 18:06:52 2013
@@ -264,7 +264,7 @@ void XPropertyList::Insert( XPropertyEnt
{
const long nObjectCount(maContent.size());
- if(LIST_APPEND == nIndex || nIndex >= nObjectCount)
+ if(static_cast<long>(LIST_APPEND) == nIndex || nIndex >= nObjectCount)
{
maContent.push_back(pEntry);
}