зеркало из https://github.com/mozilla/gecko-dev.git
Removed field not needed in table cell data. Removed code not needed for growable array
This commit is contained in:
Родитель
18f357b26e
Коммит
6be7a56e61
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче