removed warnings; r=none
git-svn-id: svn://10.0.0.236/trunk@64107 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user