зеркало из https://github.com/mozilla/pjs.git
bug 197121; fix QI (r=brian johnson, sr=sfraser)
This commit is contained in:
Родитель
900071caca
Коммит
8cba3f4ccc
|
@ -843,7 +843,7 @@ nsClipboardDragDropHookCommand::DoCommandParams(const char *aCommandName,
|
|||
nsresult rv = aParams->GetISupportsValue("addhook", getter_AddRefs(isuppHook));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
nsCOMPtr<nsIClipboardDragDropHooks> hook = do_GetInterface(isuppHook);
|
||||
nsCOMPtr<nsIClipboardDragDropHooks> hook = do_QueryInterface(isuppHook);
|
||||
if (hook)
|
||||
returnValue = obj->AddClipboardDragDropHooks(hook);
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче