Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
This commit is contained in:
@@ -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) +
|
||||
|
||||
Reference in New Issue
Block a user