Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan

This commit is contained in:
Birunthan Mohanathas
2014-05-22 06:48:51 +03:00
parent 9c531b5b34
commit fd86bf4972
47 changed files with 156 additions and 152 deletions

View File

@@ -197,7 +197,7 @@ Classifier::TableRequest(nsACString& aResult)
ChunkSet &subs = store->SubChunks();
if (adds.Length() > 0) {
aResult.Append("a:");
aResult.AppendLiteral("a:");
nsAutoCString addList;
adds.Serialize(addList);
aResult.Append(addList);
@@ -206,7 +206,7 @@ Classifier::TableRequest(nsACString& aResult)
if (subs.Length() > 0) {
if (adds.Length() > 0)
aResult.Append(':');
aResult.Append("s:");
aResult.AppendLiteral("s:");
nsAutoCString subList;
subs.Serialize(subList);
aResult.Append(subList);