Fix xlib bustage, use .get() where previously implicit conversion from nsCString to const char* was used. patch by gisburn, r=jag, rs=scc.

This commit is contained in:
jaggernaut%netscape.com 2001-11-16 02:02:04 +00:00
Родитель 3903355328
Коммит 4ad76f6d7f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -209,8 +209,8 @@ NS_IMETHODIMP nsDragService::GetData(nsITransferable *aTransferable, PRUint32 an
nsCOMPtr <nsISupports> data;
PRUint32 dataLen = 0;
item->GetTransferData(foundFlavor, getter_AddRefs(data), &dataLen);
aTransferable->SetTransferData(foundFlavor, data, dataLen);
item->GetTransferData(foundFlavor.get(), getter_AddRefs(data), &dataLen);
aTransferable->SetTransferData(foundFlavor.get(), data, dataLen);
}
}