From b4fc6406c540dfc0b90ab5c1bf886bf5d0d2a2dc Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Sun, 26 Mar 2000 23:06:01 +0000 Subject: [PATCH] removed reference to nsString2 --- xpcom/tests/windows/nsStringTest.h | 2 +- xpcom/threads/nsEventQueue.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/tests/windows/nsStringTest.h b/xpcom/tests/windows/nsStringTest.h index 76925dc9535..378e634827c 100644 --- a/xpcom/tests/windows/nsStringTest.h +++ b/xpcom/tests/windows/nsStringTest.h @@ -525,7 +525,7 @@ int CStringTester::TestSearching(){ //now try substringsearching with RFind() using offset and count... { - nsString2 s1("abcdefghijklmnopqrstuvwxyz"); + nsString s1("abcdefghijklmnopqrstuvwxyz"); PRInt32 pos= s1.RFind("ghi"); //first search from end using count NS_ASSERTION(pos==6,"Error: RFind() with offset and count"); //THIS WILL SUCCEED! diff --git a/xpcom/threads/nsEventQueue.cpp b/xpcom/threads/nsEventQueue.cpp index 2e84f81d5f5..2576dff5404 100644 --- a/xpcom/threads/nsEventQueue.cpp +++ b/xpcom/threads/nsEventQueue.cpp @@ -27,7 +27,7 @@ #include "nsIServiceManager.h" #include "nsIObserverService.h" -#include "nsString2.h" +#include "nsString.h" #include "prlog.h"