From 34f27d9dedaa16309414a619f26473999bc2cfac Mon Sep 17 00:00:00 2001 From: "edburns%acm.org" Date: Fri, 20 Dec 2002 22:01:44 +0000 Subject: [PATCH] Uncomment the find component changes. git-svn-id: svn://10.0.0.236/trunk@135528 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/java/webclient/src_moz/CurrentPageActionEvents.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mozilla/java/webclient/src_moz/CurrentPageActionEvents.cpp b/mozilla/java/webclient/src_moz/CurrentPageActionEvents.cpp index 7799a7868d0..cecdbc54718 100644 --- a/mozilla/java/webclient/src_moz/CurrentPageActionEvents.cpp +++ b/mozilla/java/webclient/src_moz/CurrentPageActionEvents.cpp @@ -45,6 +45,7 @@ #include "nsIHistoryEntry.h" #include "nsString.h" #include "nsReadableUtils.h" +#include "nsIFindComponent.h" wsCopySelectionEvent::wsCopySelectionEvent(WebShellInitContext *yourInitContext) : nsActionEvent(), @@ -101,7 +102,6 @@ wsFindEvent::handleEvent () JNIEnv *env = (JNIEnv *) JNU_GetEnv(gVm, JNI_VERSION); if (mInitContext) { -#if 0 //First get the FindComponent object nsCOMPtr findComponent; findComponent = do_GetService(NS_IFINDCOMPONENT_CONTRACTID, &rv); @@ -195,10 +195,6 @@ wsFindEvent::handleEvent () } // Save in initContext struct for future findNextInPage calls mInitContext->searchContext = srchcontext; - -#else - return (void *) rv; -#endif } return result;