Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg

This commit is contained in:
Randell Jesup
2012-09-01 22:35:17 -04:00
parent 360ad91182
commit 3b4961b603
617 changed files with 2504 additions and 2504 deletions

View File

@@ -930,7 +930,7 @@ nsComponentManagerImpl::CreateInstance(const nsCID &aClass,
if (entry->mServiceObject) {
nsXPIDLCString cid;
cid.Adopt(aClass.ToString());
nsCAutoString message;
nsAutoCString message;
message = NS_LITERAL_CSTRING("You are calling CreateInstance \"") +
cid + NS_LITERAL_CSTRING("\" when a service for this CID already exists!");
NS_ERROR(message.get());
@@ -1013,7 +1013,7 @@ nsComponentManagerImpl::CreateInstanceByContractID(const char *aContractID,
#ifdef SHOW_CI_ON_EXISTING_SERVICE
if (entry->mServiceObject) {
nsCAutoString message;
nsAutoCString message;
message =
NS_LITERAL_CSTRING("You are calling CreateInstance \"") +
nsDependentCString(aContractID) +