зеркало из https://github.com/mozilla/pjs.git
Bug 609632 - More embarrassments, shame on me; a=shameful-ehsan
This commit is contained in:
Родитель
ee8f38dd38
Коммит
d1898ac07f
|
@ -1332,7 +1332,7 @@ NS_IMETHODIMP nsHTMLEditor::InsertFromTransferable(nsITransferable *transferable
|
|||
{
|
||||
nsCOMPtr<nsIMIMEService> mime = do_GetService("@mozilla.org/mime;1");
|
||||
NS_ENSURE_TRUE(mime, NS_ERROR_FAILURE);
|
||||
nsCString contentType;
|
||||
nsCAutoString contentType;
|
||||
rv = mime->GetTypeFromFile(fileObj, contentType);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче