From 17c71ecd8d5d5bb3ab0248b5008fbd3d269aef95 Mon Sep 17 00:00:00 2001 From: "dougt%meer.net" Date: Wed, 31 May 2006 16:08:31 +0000 Subject: [PATCH] Fixing build bustage. --- minimo/components/softkb/nsSoftKeyBoard.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/minimo/components/softkb/nsSoftKeyBoard.cpp b/minimo/components/softkb/nsSoftKeyBoard.cpp index 8b8a92b7e2f..ded5f587f04 100755 --- a/minimo/components/softkb/nsSoftKeyBoard.cpp +++ b/minimo/components/softkb/nsSoftKeyBoard.cpp @@ -50,7 +50,7 @@ #include "nsCOMPtr.h" #include "nsMemory.h" #include "nsString.h" -#include "nsArray.h" +#include "nsCOMArray.h" #include "nsIGenericFactory.h" @@ -433,7 +433,7 @@ nsSoftKeyBoard::HandleEvent(nsIDOMEvent* aEvent) nsCOMPtr targetContent = do_QueryInterface(target); - if (!targetContent || !targetContent->IsContentOfType(nsIContent::eHTML_FORM_CONTROL)) + if (!targetContent || !targetContent->IsNodeOfType(nsINode::eHTML_FORM_CONTROL)) return NS_OK; nsCOMPtr formControl(do_QueryInterface(targetContent)); @@ -713,7 +713,7 @@ nsSoftKeyBoard::ShouldOpenKeyboardFor(nsIDOMEvent* aEvent) nsevent->GetOriginalTarget(getter_AddRefs(target)); nsCOMPtr targetContent = do_QueryInterface(target); - if (targetContent && targetContent->IsContentOfType(nsIContent::eHTML_FORM_CONTROL)) + if (targetContent && targetContent->IsNodeOfType(nsINode::eHTML_FORM_CONTROL)) { nsCOMPtr formControl(do_QueryInterface(targetContent)); if (formControl) @@ -878,7 +878,7 @@ nsSoftKeyBoardService::Observe(nsISupports *aSubject, const char *aTopic, const nsCOMPtr prefBranch = do_QueryInterface(aSubject); nsXPIDLCString cstr; - const char* pref = NS_ConvertUCS2toUTF8(aData).get(); + const char* pref = NS_ConvertUTF16toUTF8(aData).get(); HandlePref(pref, prefBranch); return NS_OK;