From 62fe0792f871324d042a924aeccab73a303fee86 Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Sun, 13 Feb 2000 21:16:40 +0000 Subject: [PATCH] remove commented-out code --- extensions/wallet/editor/nsWalletEditor.cpp | 23 --------------------- 1 file changed, 23 deletions(-) diff --git a/extensions/wallet/editor/nsWalletEditor.cpp b/extensions/wallet/editor/nsWalletEditor.cpp index 5f293f8043d7..902a10034111 100644 --- a/extensions/wallet/editor/nsWalletEditor.cpp +++ b/extensions/wallet/editor/nsWalletEditor.cpp @@ -67,29 +67,6 @@ WalletEditorImpl::GetValue(PRUnichar** aValue) return res; } -#if 0 -static void DOMWindowToWebShellWindow( - nsIDOMWindow *DOMWindow, - nsCOMPtr *webWindow) -{ - if (!DOMWindow) { - return; // with webWindow unchanged -- its constructor gives it a null ptr - } - nsCOMPtr globalScript(do_QueryInterface(DOMWindow)); - nsCOMPtr docShell; - if (globalScript) { - globalScript->GetDocShell(getter_AddRefs(docShell)); - } - nsCOMPtr webshell(do_QueryInterface(docShell)); - nsCOMPtr rootWebshell; - if(!webshell) - return; - nsCOMPtr topLevelWindow; - webshell->GetTopLevelWindow(getter_AddRefs(topLevelWindow)); - *webWindow = do_QueryInterface(topLevelWindow); -} -#endif /* 0 */ - NS_IMETHODIMP WalletEditorImpl::SetValue(const PRUnichar* aValue, nsIDOMWindow* win) {