fixing linux bustage

This commit is contained in:
scc%mozilla.org 2001-06-29 14:50:12 +00:00
parent 332c61b5aa
commit ffba0d3198

View File

@ -163,7 +163,7 @@ nsXMLMIMEDataSource::Add( nsIMIMEInfo* aMapper )
if (NS_FAILED(rv)) return rv;
// Next add the new root MIME mapping.
nsCStringKey key(mimeType);
nsCStringKey key(mimeType.get());
nsMIMEInfoImpl* oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, aMapper);
NS_ASSERTION(!oldInfo, "we just removed the entry, we shouldn't have one");
NS_ADDREF(aMapper);