From c9c490b602780eb9e9d39871199f626d4761ab11 Mon Sep 17 00:00:00 2001 From: "brade%netscape.com" Date: Tue, 22 Apr 2003 20:30:54 +0000 Subject: [PATCH] bug 197121; fix QI (r=brian johnson, sr=sfraser) git-svn-id: svn://10.0.0.236/trunk@141615 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/dom/src/base/nsGlobalWindowCommands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/dom/src/base/nsGlobalWindowCommands.cpp b/mozilla/dom/src/base/nsGlobalWindowCommands.cpp index 3aeea719735..83448382615 100644 --- a/mozilla/dom/src/base/nsGlobalWindowCommands.cpp +++ b/mozilla/dom/src/base/nsGlobalWindowCommands.cpp @@ -843,7 +843,7 @@ nsClipboardDragDropHookCommand::DoCommandParams(const char *aCommandName, nsresult rv = aParams->GetISupportsValue("addhook", getter_AddRefs(isuppHook)); if (NS_SUCCEEDED(rv)) { - nsCOMPtr hook = do_GetInterface(isuppHook); + nsCOMPtr hook = do_QueryInterface(isuppHook); if (hook) returnValue = obj->AddClipboardDragDropHooks(hook); else