removed reference to nsString2

This commit is contained in:
rickg%netscape.com 2000-03-31 10:13:22 +00:00
parent 85601a6934
commit 4070be753e
9 changed files with 13 additions and 13 deletions

View File

@ -27,7 +27,7 @@
#ifndef nsDateTimeChannel_h___
#define nsDateTimeChannel_h___
#include "nsString2.h"
#include "nsString.h"
#include "nsILoadGroup.h"
#include "nsIInputStream.h"
#include "nsIInterfaceRequestor.h"

View File

@ -23,7 +23,7 @@
#ifndef nsFingerChannel_h___
#define nsFingerChannel_h___
#include "nsString2.h"
#include "nsString.h"
#include "nsILoadGroup.h"
#include "nsIInputStream.h"
#include "nsIInterfaceRequestor.h"

View File

@ -22,7 +22,7 @@
#include "nsMIMEService.h"
#include "nsVoidArray.h"
#include "nsString2.h"
#include "nsString.h"
#include "nsMIMEInfoImpl.h"
#include "nsIURL.h"
#include "nsCOMPtr.h"

View File

@ -27,7 +27,7 @@
#include "nsIDataChannel.h"
#include "nsIURI.h"
#include "nsString2.h"
#include "nsString.h"
#include "nsIEventQueue.h"
#include "nsILoadGroup.h"
#include "nsIStreamListener.h"

View File

@ -27,7 +27,7 @@
#ifndef nsDateTimeChannel_h___
#define nsDateTimeChannel_h___
#include "nsString2.h"
#include "nsString.h"
#include "nsILoadGroup.h"
#include "nsIInputStream.h"
#include "nsIInterfaceRequestor.h"

View File

@ -23,7 +23,7 @@
#ifndef nsFingerChannel_h___
#define nsFingerChannel_h___
#include "nsString2.h"
#include "nsString.h"
#include "nsILoadGroup.h"
#include "nsIInputStream.h"
#include "nsIInterfaceRequestor.h"

View File

@ -24,7 +24,7 @@
#define nsKeywordProtocolHandler_h___
#include "nsIProtocolHandler.h"
#include "nsString2.h"
#include "nsString.h"
#define NS_KEYWORDPROTOCOLHANDLER_CID \
{ /* 2E4233C0-6FB4-11d3-A180-0050041CAF44 */ \

View File

@ -20,7 +20,7 @@
* Contributor(s):
*/
#include "nsString2.h"
#include "nsString.h"
#include "nsIServiceManager.h"
#include "nsSocketProviderService.h"

View File

@ -59,14 +59,14 @@ public:
nsresult rv = aFromStream->Read(buf, 1024, &read);
if (NS_FAILED(rv) || read == 0) return rv;
nsString2 to(aToType);
nsString to(aToType);
char *toMIME = to.ToNewCString();
char toChar = *toMIME;
for (PRUint32 i = 0; i < read; i++)
buf[i] = toChar;
nsString2 convDataStr(buf);
nsString convDataStr(buf);
nsIInputStream *inputData = nsnull;
nsISupports *inputDataSup = nsnull;
@ -312,7 +312,7 @@ main(int argc, char* argv[])
if (NS_FAILED(rv)) return rv;
// use a dummy string as a stream to convert.
nsString2 dummyData("aaaaaaaaaaaaaaa");
nsString dummyData("aaaaaaaaaaaaaaa");
nsIInputStream *inputData = nsnull;
nsISupports *inputDataSup = nsnull;
nsIInputStream *convertedData = nsnull;
@ -321,9 +321,9 @@ main(int argc, char* argv[])
if (NS_FAILED(rv)) return rv;
PRUnichar *from, *to;
nsString2 fromStr("a/foo");
nsString fromStr("a/foo");
from = fromStr.ToNewUnicode();
nsString2 toStr ("e/foo");
nsString toStr ("e/foo");
to = toStr.ToNewUnicode();
rv = inputDataSup->QueryInterface(NS_GET_IID(nsIInputStream), (void**)&inputData);