Author: alg
Date: Mon Apr 29 10:52:07 2013
New Revision: 1476958

URL: http://svn.apache.org/r1476958
Log:
i122120 corected error in XPropertyList::Insert when index is equal to -1

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=1476958&r1=1476957&r2=1476958&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/xoutdev/xtable.cxx (original)
+++ openoffice/trunk/main/svx/source/xoutdev/xtable.cxx Mon Apr 29 10:52:07 2013
@@ -263,7 +263,7 @@ void XPropertyList::Insert( XPropertyEnt
     {
         const long nObjectCount(maContent.size());
 
-        if(nIndex >= nObjectCount)
+        if(LIST_APPEND == nIndex || nIndex >= nObjectCount)
         {
             maContent.push_back(pEntry);
         }


Reply via email to