Bug 705428 - Remove dead code: nsXMLContentSerializer::AppendToString(const PRUnichar*, PRInt32, nsAString&); r=sicking

This commit is contained in:
Ms2ger 2011-12-03 22:50:16 +01:00
parent 0b57453763
commit 22368cd88a
2 changed files with 0 additions and 22 deletions

View File

@ -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)

View File

@ -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
*/