From 800494a1f2a33559d95624061d246cbfe8bb9559 Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Sat, 29 May 1999 02:44:53 +0000 Subject: [PATCH] fixed nsString2 usage error --- intl/chardet/src/nsMetaCharsetObserver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intl/chardet/src/nsMetaCharsetObserver.cpp b/intl/chardet/src/nsMetaCharsetObserver.cpp index 2b71584e94d6..ab65ac618524 100644 --- a/intl/chardet/src/nsMetaCharsetObserver.cpp +++ b/intl/chardet/src/nsMetaCharsetObserver.cpp @@ -335,7 +335,7 @@ NS_IMETHODIMP nsMetaCharsetObserver::Start() if(NS_FAILED(res)) goto done; - res = anObserverService->AddObserver(mHack, htmlTopic); + res = anObserverService->AddObserver(mHack, htmlTopic.GetUnicode()); nsServiceManager::ReleaseService(NS_OBSERVERSERVICE_PROGID, anObserverService); @@ -355,7 +355,7 @@ NS_IMETHODIMP nsMetaCharsetObserver::End() if(NS_FAILED(res)) goto done; - res = anObserverService->RemoveObserver(mHack, htmlTopic); + res = anObserverService->RemoveObserver(mHack, htmlTopic.GetUnicode()); nsServiceManager::ReleaseService(NS_OBSERVERSERVICE_PROGID, anObserverService);