Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc

git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
disttsc%bart.nl
2001-03-02 09:26:57 +00:00
parent 949670283e
commit d30c2be76b
167 changed files with 630 additions and 628 deletions

View File

@@ -1427,7 +1427,7 @@ void CAttributeToken::DebugDumpToken(nsOutputStream& out) {
char buffer[200];
nsCAutoString str;
CopyUCS2toASCII(mTextKey, str);
out << "[" << GetClassName() << "] " << str.GetBuffer() << "=";
out << "[" << GetClassName() << "] " << str.get() << "=";
mTextValue.ToCString(buffer,sizeof(buffer));
out << buffer << ": " << mTypeID << nsEndl;
}
@@ -1682,7 +1682,7 @@ void CAttributeToken::DebugDumpSource(nsOutputStream& out) {
static char buffer[1000];
nsCAutoString str;
CopyUCS2toASCII(mTextKey, str);
out << " " << str.GetBuffer();
out << " " << str.get();
if(mTextValue.Length()){
mTextValue.ToCString(buffer,sizeof(buffer));
out << "=" << buffer;