From 1e652fb669010f9414e3e7ea9005704ec3843c78 Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Wed, 21 Apr 1999 23:44:27 +0000 Subject: [PATCH] remove PRBool* oContinue from the Notify method --- htmlparser/src/nsCharsetObserver.cpp | 4 +--- htmlparser/src/nsCharsetObserver.h | 3 +-- htmlparser/src/nsIElementObserver.h | 6 +++--- parser/htmlparser/src/nsCharsetObserver.cpp | 4 +--- parser/htmlparser/src/nsCharsetObserver.h | 3 +-- parser/htmlparser/src/nsIElementObserver.h | 6 +++--- 6 files changed, 10 insertions(+), 16 deletions(-) diff --git a/htmlparser/src/nsCharsetObserver.cpp b/htmlparser/src/nsCharsetObserver.cpp index 256bbbac2e2f..54077e262f3b 100644 --- a/htmlparser/src/nsCharsetObserver.cpp +++ b/htmlparser/src/nsCharsetObserver.cpp @@ -74,11 +74,9 @@ NS_IMETHODIMP nsCharsetObserver::Notify( const nsString& aTag, PRUint32 numOfAttributes, const nsString* nameArray, - const nsString* valueArray, - PRBool *oContinue) + const nsString* valueArray) { nsresult res = NS_OK; - *oContinue = PR_TRUE; // be default, continue if(aTag.EqualsIgnoreCase("META")) { if((numOfAttributes >= 2) && diff --git a/htmlparser/src/nsCharsetObserver.h b/htmlparser/src/nsCharsetObserver.h index 39a056276dcb..cef2e5458593 100644 --- a/htmlparser/src/nsCharsetObserver.h +++ b/htmlparser/src/nsCharsetObserver.h @@ -48,8 +48,7 @@ public: * @param valueArray - array of value */ NS_IMETHOD Notify(PRUint32 aDocumentID, const nsString& aTag, PRUint32 numOfAttributes, - const nsString* nameArray, const nsString* valueArray, - PRBool* oContinue); + const nsString* nameArray, const nsString* valueArray); NS_IMETHOD Notify(nsISupports** result) = 0; }; diff --git a/htmlparser/src/nsIElementObserver.h b/htmlparser/src/nsIElementObserver.h index daee2a99b3f7..a133e2b8c59c 100644 --- a/htmlparser/src/nsIElementObserver.h +++ b/htmlparser/src/nsIElementObserver.h @@ -53,10 +53,10 @@ public: * @param valueArray - array of value */ NS_IMETHOD Notify(PRUint32 aDocumentID, const nsString& aTag, PRUint32 numOfAttributes, - const nsString* nameArray, const nsString* valueArray, - PRBool *oContinue) = 0; -}; + const nsString* nameArray, const nsString* valueArray) = 0; +}; + #endif /* nsIElementObserver_h__ */ diff --git a/parser/htmlparser/src/nsCharsetObserver.cpp b/parser/htmlparser/src/nsCharsetObserver.cpp index 256bbbac2e2f..54077e262f3b 100644 --- a/parser/htmlparser/src/nsCharsetObserver.cpp +++ b/parser/htmlparser/src/nsCharsetObserver.cpp @@ -74,11 +74,9 @@ NS_IMETHODIMP nsCharsetObserver::Notify( const nsString& aTag, PRUint32 numOfAttributes, const nsString* nameArray, - const nsString* valueArray, - PRBool *oContinue) + const nsString* valueArray) { nsresult res = NS_OK; - *oContinue = PR_TRUE; // be default, continue if(aTag.EqualsIgnoreCase("META")) { if((numOfAttributes >= 2) && diff --git a/parser/htmlparser/src/nsCharsetObserver.h b/parser/htmlparser/src/nsCharsetObserver.h index 39a056276dcb..cef2e5458593 100644 --- a/parser/htmlparser/src/nsCharsetObserver.h +++ b/parser/htmlparser/src/nsCharsetObserver.h @@ -48,8 +48,7 @@ public: * @param valueArray - array of value */ NS_IMETHOD Notify(PRUint32 aDocumentID, const nsString& aTag, PRUint32 numOfAttributes, - const nsString* nameArray, const nsString* valueArray, - PRBool* oContinue); + const nsString* nameArray, const nsString* valueArray); NS_IMETHOD Notify(nsISupports** result) = 0; }; diff --git a/parser/htmlparser/src/nsIElementObserver.h b/parser/htmlparser/src/nsIElementObserver.h index daee2a99b3f7..a133e2b8c59c 100644 --- a/parser/htmlparser/src/nsIElementObserver.h +++ b/parser/htmlparser/src/nsIElementObserver.h @@ -53,10 +53,10 @@ public: * @param valueArray - array of value */ NS_IMETHOD Notify(PRUint32 aDocumentID, const nsString& aTag, PRUint32 numOfAttributes, - const nsString* nameArray, const nsString* valueArray, - PRBool *oContinue) = 0; -}; + const nsString* nameArray, const nsString* valueArray) = 0; +}; + #endif /* nsIElementObserver_h__ */