removed return variable that wasn't used and its warning r=self

git-svn-id: svn://10.0.0.236/trunk@54282 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-11-23 14:21:03 +00:00
parent d5f402d8c6
commit a6d7ccf209
2 changed files with 2 additions and 2 deletions

View File

@@ -302,7 +302,7 @@ nsFormControlHelper::CalcNavQuirkSizing(nsIPresContext& aPresContext,
} else if (NS_FORM_INPUT_BUTTON == type ||
NS_FORM_INPUT_SUBMIT == type ||
NS_FORM_INPUT_RESET == type) {
nscoord charWidth = GetTextSize(aPresContext, aFrame, *aSpec.mColDefaultValue, aSize, aRendContext);
GetTextSize(aPresContext, aFrame, *aSpec.mColDefaultValue, aSize, aRendContext);
aSize.width = NSToCoordRound(aSize.width * t2p);
aSize.height = NSToCoordRound(aSize.height * t2p);
width = 3 * aSize.width / 2;