bug #75220: fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build

This commit is contained in:
scc%mozilla.org 2001-05-23 01:21:04 +00:00
parent af0c0df24f
commit b7b3395bad
4 changed files with 5 additions and 5 deletions

View File

@ -3494,7 +3494,7 @@ HTMLContentSink::StartLayout()
rv = mDocumentURI->GetSpec(getter_Copies(ref));
nsLiteralCString refstr(ref);
nsDependentCString refstr(ref);
nsReadingIterator<char> start, end;

View File

@ -150,7 +150,7 @@ NS_IMPL_ISUPPORTS1(nsDiskCacheEntryInfo, nsICacheEntryInfo);
NS_IMETHODIMP nsDiskCacheEntryInfo::GetClientID(char ** clientID)
{
NS_ENSURE_ARG_POINTER(clientID);
return ClientIDFromCacheKey(nsLiteralCString(mDiskEntry->mKeyStart), clientID);
return ClientIDFromCacheKey(nsDependentCString(mDiskEntry->mKeyStart), clientID);
}
extern const char DISK_CACHE_DEVICE_ID[];
@ -165,7 +165,7 @@ NS_IMETHODIMP nsDiskCacheEntryInfo::GetDeviceID(char ** deviceID)
NS_IMETHODIMP nsDiskCacheEntryInfo::GetKey(char ** clientKey)
{
NS_ENSURE_ARG_POINTER(clientKey);
return ClientKeyFromCacheKey(nsLiteralCString(mDiskEntry->mKeyStart), clientKey);
return ClientKeyFromCacheKey(nsDependentCString(mDiskEntry->mKeyStart), clientKey);
}
NS_IMETHODIMP nsDiskCacheEntryInfo::GetFetchCount(PRInt32 *aFetchCount)

View File

@ -1197,7 +1197,7 @@ nsresult nsProfile::ShouldDeleteProfileParentDir(nsIFile *profileDir, PRBool *is
if (NS_FAILED(rv)) return rv;
PRBool endsWithSalt = PR_FALSE;
nsLiteralCString leafNameString(leafName.get());
nsDependentCString leafNameString(leafName.get());
if (leafNameString.Length() >= kSaltExtensionCString.Length())
{
nsReadingIterator<char> stringEnd;

View File

@ -219,7 +219,7 @@ NS_IMETHODIMP nsSoftwareUpdate::Observe(nsISupports *aSubject,
const PRUnichar *aTopic,
const PRUnichar *aData)
{
nsLiteralString topicString(aTopic);
nsDependentString topicString(aTopic);
if (topicString.Equals(NS_LITERAL_STRING(NS_XPCOM_SHUTDOWN_OBSERVER_ID)))
Shutdown();