Bug 205603 Cleanup warnings in xul..grid

r=varga sr=jag
This commit is contained in:
timeless%mozdev.org 2003-05-23 22:14:12 +00:00
Родитель 2ba082c8ae
Коммит 25605e81bc
2 изменённых файлов: 0 добавлений и 11 удалений

Просмотреть файл

@ -119,7 +119,6 @@ nsGridLayout2::GetMinSize(nsIBox* aBox, nsBoxLayoutState& aState, nsSize& aSize)
PRInt32 rows = mGrid.GetRowCount();
for (PRInt32 i=0; i < rows; i++)
{
nsGridRow* row = mGrid.GetRowAt(i);
nscoord size = 0;
mGrid.GetMinRowHeight(aState, i, size, PR_TRUE);
AddWidth(total, size, PR_FALSE); // AddHeight
@ -131,7 +130,6 @@ nsGridLayout2::GetMinSize(nsIBox* aBox, nsBoxLayoutState& aState, nsSize& aSize)
PRInt32 columns = mGrid.GetColumnCount();
for (PRInt32 i=0; i < columns; i++)
{
nsGridRow* row = mGrid.GetColumnAt(i);
nscoord size = 0;
mGrid.GetMinRowHeight(aState, i, size, PR_FALSE); // GetPrefRowWidth
AddWidth(total, size, PR_TRUE); // AddWidth
@ -164,7 +162,6 @@ nsGridLayout2::GetPrefSize(nsIBox* aBox, nsBoxLayoutState& aState, nsSize& aSize
PRInt32 rows = mGrid.GetRowCount();
for (PRInt32 i=0; i < rows; i++)
{
nsGridRow* row = mGrid.GetRowAt(i);
nscoord size = 0;
mGrid.GetPrefRowHeight(aState, i, size, PR_TRUE);
AddWidth(total, size, PR_FALSE); // AddHeight
@ -176,7 +173,6 @@ nsGridLayout2::GetPrefSize(nsIBox* aBox, nsBoxLayoutState& aState, nsSize& aSize
PRInt32 columns = mGrid.GetColumnCount();
for (PRInt32 i=0; i < columns; i++)
{
nsGridRow* row = mGrid.GetColumnAt(i);
nscoord size = 0;
mGrid.GetPrefRowHeight(aState, i, size, PR_FALSE); // GetPrefRowWidth
AddWidth(total, size, PR_TRUE); // AddWidth
@ -210,7 +206,6 @@ nsGridLayout2::GetMaxSize(nsIBox* aBox, nsBoxLayoutState& aState, nsSize& aSize)
PRInt32 rows = mGrid.GetRowCount();
for (PRInt32 i=0; i < rows; i++)
{
nsGridRow* row = mGrid.GetRowAt(i);
nscoord size = 0;
mGrid.GetMaxRowHeight(aState, i, size, PR_TRUE);
AddWidth(total, size, PR_FALSE); // AddHeight
@ -223,7 +218,6 @@ nsGridLayout2::GetMaxSize(nsIBox* aBox, nsBoxLayoutState& aState, nsSize& aSize)
PRInt32 columns = mGrid.GetColumnCount();
for (PRInt32 i=0; i < columns; i++)
{
nsGridRow* row = mGrid.GetColumnAt(i);
nscoord size = 0;
mGrid.GetMaxRowHeight(aState, i, size, PR_FALSE); // GetPrefRowWidth
AddWidth(total, size, PR_TRUE); // AddWidth

Просмотреть файл

@ -123,7 +123,6 @@ nsGridRowGroupLayout::GetPrefSize(nsIBox* aBox, nsBoxLayoutState& aState, nsSize
PRInt32 start = grid->GetColumnCount(isHorizontal) - grid->GetExtraColumnCount(isHorizontal);
for (PRInt32 i=0; i < extraColumns; i++)
{
nsGridRow* column = grid->GetColumnAt(i+start, isHorizontal);
nscoord size = 0;
grid->GetPrefRowHeight(aState, i+start, size, !isHorizontal); // GetPrefColumnWidth
@ -151,7 +150,6 @@ nsGridRowGroupLayout::GetMaxSize(nsIBox* aBox, nsBoxLayoutState& aState, nsSize&
PRInt32 start = grid->GetColumnCount(isHorizontal) - grid->GetExtraColumnCount(isHorizontal);
for (PRInt32 i=0; i < extraColumns; i++)
{
nsGridRow* column = grid->GetColumnAt(i+start, isHorizontal);
nscoord size = 0;
grid->GetMaxRowHeight(aState, i+start, size, !isHorizontal); // GetMaxColumnWidth
@ -180,7 +178,6 @@ nsGridRowGroupLayout::GetMinSize(nsIBox* aBox, nsBoxLayoutState& aState, nsSize&
PRInt32 start = grid->GetColumnCount(isHorizontal) - grid->GetExtraColumnCount(isHorizontal);
for (PRInt32 i=0; i < extraColumns; i++)
{
nsGridRow* column = grid->GetColumnAt(i+start, isHorizontal);
nscoord size = 0;
grid->GetMinRowHeight(aState, i+start, size, !isHorizontal); // GetMinColumnWidth
@ -203,7 +200,6 @@ nsGridRowGroupLayout::DirtyRows(nsIBox* aBox, nsBoxLayoutState& aState)
nsIBox* child = nsnull;
aBox->GetChildBox(&child);
nsIBox* deepChild = child;
PRInt32 rowCount = 0;
while(child) {
@ -237,7 +233,6 @@ nsGridRowGroupLayout::CountRowsColumns(nsIBox* aBox, PRInt32& aRowCount, PRInt32
nsIBox* child = nsnull;
aBox->GetChildBox(&child);
nsIBox* deepChild = child;
PRInt32 rowCount = 0;
while(child) {