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);
         }


Reply via email to