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

This commit is contained in:
disttsc@bart.nl
2001-03-02 09:26:57 +00:00
parent 8c55283d41
commit e9399ed474
109 changed files with 367 additions and 368 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;