mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 705428 - Remove dead code: nsXMLContentSerializer::AppendToString(const PRUnichar*, PRInt32, nsAString&); r=sicking
This commit is contained in:
parent
0b57453763
commit
22368cd88a
@ -1152,21 +1152,6 @@ nsXMLContentSerializer::CheckElementEnd(nsIContent * aContent,
|
||||
return aContent->GetChildCount() > 0;
|
||||
}
|
||||
|
||||
void
|
||||
nsXMLContentSerializer::AppendToString(const PRUnichar* aStr,
|
||||
PRInt32 aLength,
|
||||
nsAString& aOutputStr)
|
||||
{
|
||||
if (mBodyOnly && !mInBody) {
|
||||
return;
|
||||
}
|
||||
PRInt32 length = (aLength == -1) ? nsCRT::strlen(aStr) : aLength;
|
||||
|
||||
mColPos += length;
|
||||
|
||||
aOutputStr.Append(aStr, length);
|
||||
}
|
||||
|
||||
void
|
||||
nsXMLContentSerializer::AppendToString(const PRUnichar aChar,
|
||||
nsAString& aOutputStr)
|
||||
|
@ -102,13 +102,6 @@ class nsXMLContentSerializer : public nsIContentSerializer {
|
||||
|
||||
protected:
|
||||
|
||||
/**
|
||||
* Appends a PRUnichar string and increments the column position
|
||||
*/
|
||||
void AppendToString(const PRUnichar* aStr,
|
||||
PRInt32 aLength,
|
||||
nsAString& aOutputStr);
|
||||
|
||||
/**
|
||||
* Appends a PRUnichar character and increments the column position
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user