Removed field not needed in table cell data. Removed code not needed for growable array
This commit is contained in:
Родитель
e2eea4c9fd
Коммит
190e72af81
|
@ -330,7 +330,6 @@ struct _EDT_TableData {
|
|||
int32 iBorderWidth;
|
||||
int32 iCellSpacing;
|
||||
int32 iCellPadding;
|
||||
int32 iInterCellSpace;
|
||||
XP_Bool bWidthDefined;
|
||||
XP_Bool bWidthPercent;
|
||||
int32 iWidth;
|
||||
|
|
|
@ -107,14 +107,11 @@ public:
|
|||
|
||||
if( nIndex < m_iSize )
|
||||
{
|
||||
if( m_iSize > 0 )
|
||||
iLowerLimit = max(1, nIndex);
|
||||
/* Shuffle pointers at and above insert index up */
|
||||
for( int i = m_iSize; i >= iLowerLimit; i-- )
|
||||
{
|
||||
iLowerLimit = max(1, nIndex);
|
||||
/* Shuffle pointers at and above insert index up */
|
||||
for( int i = m_iSize; i >= iLowerLimit; i-- )
|
||||
{
|
||||
m_pData[i] = m_pData[i-1];
|
||||
}
|
||||
m_pData[i] = m_pData[i-1];
|
||||
}
|
||||
/* Overwrite pointer at designated location */
|
||||
m_pData[nIndex] = newElement;
|
||||
|
|
Загрузка…
Ссылка в новой задаче