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
Родитель cdd317c3b4
Коммит bd6351b5ba
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);
}
}