From d124893025fbaf6c6212757fe6e4a33b4ffc76f9 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Tue, 18 Jun 2002 14:35:12 +0000 Subject: [PATCH] Fix a warning --- camino/MainController.mm | 2 +- camino/src/application/MainController.mm | 2 +- chimera/MainController.mm | 2 +- chimera/src/application/MainController.mm | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/camino/MainController.mm b/camino/MainController.mm index 42b9a65cdb0..52f7e9ba376 100644 --- a/camino/MainController.mm +++ b/camino/MainController.mm @@ -523,7 +523,7 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1"; - (void)openURL:(NSPasteboard *) pboard userData:(NSString *) userData error:(NSString **) error { - NSString *urlString = [[[NSMutableString alloc] init] autorelease]; + NSMutableString *urlString = [[[NSMutableString alloc] init] autorelease]; if ( !urlString ) return; diff --git a/camino/src/application/MainController.mm b/camino/src/application/MainController.mm index 42b9a65cdb0..52f7e9ba376 100644 --- a/camino/src/application/MainController.mm +++ b/camino/src/application/MainController.mm @@ -523,7 +523,7 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1"; - (void)openURL:(NSPasteboard *) pboard userData:(NSString *) userData error:(NSString **) error { - NSString *urlString = [[[NSMutableString alloc] init] autorelease]; + NSMutableString *urlString = [[[NSMutableString alloc] init] autorelease]; if ( !urlString ) return; diff --git a/chimera/MainController.mm b/chimera/MainController.mm index 42b9a65cdb0..52f7e9ba376 100644 --- a/chimera/MainController.mm +++ b/chimera/MainController.mm @@ -523,7 +523,7 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1"; - (void)openURL:(NSPasteboard *) pboard userData:(NSString *) userData error:(NSString **) error { - NSString *urlString = [[[NSMutableString alloc] init] autorelease]; + NSMutableString *urlString = [[[NSMutableString alloc] init] autorelease]; if ( !urlString ) return; diff --git a/chimera/src/application/MainController.mm b/chimera/src/application/MainController.mm index 42b9a65cdb0..52f7e9ba376 100644 --- a/chimera/src/application/MainController.mm +++ b/chimera/src/application/MainController.mm @@ -523,7 +523,7 @@ static const char* ioServiceContractID = "@mozilla.org/network/io-service;1"; - (void)openURL:(NSPasteboard *) pboard userData:(NSString *) userData error:(NSString **) error { - NSString *urlString = [[[NSMutableString alloc] init] autorelease]; + NSMutableString *urlString = [[[NSMutableString alloc] init] autorelease]; if ( !urlString ) return;