removed warnings; r=none

git-svn-id: svn://10.0.0.236/trunk@64107 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
2000-03-25 05:38:11 +00:00
parent 4aea0e4591
commit fc42d987f5
18 changed files with 26 additions and 40 deletions

View File

@@ -401,14 +401,6 @@ PRBool nsHTMLToTXTSinkStream::DoOutput()
return mDoFragment || inBody;
}
nsAutoString
Spaces(PRInt32 count)
{
nsAutoString result;
while (result.Length() < count)
result += ' ';
return result;
}
/**
* This method is used to a general container.
@@ -818,7 +810,7 @@ nsHTMLToTXTSinkStream::AddLeaf(const nsIParserNode& aNode)
// Make a line of dashes as wide as the wrap width
nsAutoString line;
int width = (mWrapColumn > 0 ? mWrapColumn : 25);
PRUint32 width = (mWrapColumn > 0 ? mWrapColumn : 25);
while (line.Length() < width)
line += '-';
Write(line);