Removed compiler warning in nsFormControlHelper::PaintCircularBackground

This commit is contained in:
kmcclusk%netscape.com 1999-08-30 22:29:11 +00:00
Родитель 0d5f555af2
Коммит 4df505df28
2 изменённых файлов: 6 добавлений и 4 удалений

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

@ -920,7 +920,9 @@ nsFormControlHelper::PaintCircularBackground(nsIPresContext& aPresContext,
aRenderingContext.FillArc(outside, 180, 360);
}
//XXX: TODO Remove this. It is no longer needed since circular borders
//are painted by the standard border code by setting a border radius
//to 1/2 the width of the border
void
nsFormControlHelper::PaintCircularBorder(nsIPresContext& aPresContext,
nsIRenderingContext& aRenderingContext,
@ -998,7 +1000,6 @@ nsFormControlHelper::PaintCircularBorder(nsIPresContext& aPresContext,
outside.Deflate(onePixel, onePixel);
outside.Deflate(onePixel, onePixel);
} else {
nsRect outside;
nsFormControlHelper::GetCircularRect(aWidth, aHeight, outside);
aRenderingContext.SetColor(NS_RGB(128,128,128));

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

@ -920,7 +920,9 @@ nsFormControlHelper::PaintCircularBackground(nsIPresContext& aPresContext,
aRenderingContext.FillArc(outside, 180, 360);
}
//XXX: TODO Remove this. It is no longer needed since circular borders
//are painted by the standard border code by setting a border radius
//to 1/2 the width of the border
void
nsFormControlHelper::PaintCircularBorder(nsIPresContext& aPresContext,
nsIRenderingContext& aRenderingContext,
@ -998,7 +1000,6 @@ nsFormControlHelper::PaintCircularBorder(nsIPresContext& aPresContext,
outside.Deflate(onePixel, onePixel);
outside.Deflate(onePixel, onePixel);
} else {
nsRect outside;
nsFormControlHelper::GetCircularRect(aWidth, aHeight, outside);
aRenderingContext.SetColor(NS_RGB(128,128,128));