From 48fb8951f4bfc37aa529c8a1b6f246ebbc247a8f Mon Sep 17 00:00:00 2001
From: "pavlov%netscape.com" <pavlov%netscape.com>
Date: Thu, 12 Sep 2002 08:42:39 +0000
Subject: [PATCH] Fix string bustage in DEBUG_pavlov code. r=mozbot, sr=lumpy

---
 modules/libpr0n/src/imgLoader.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/libpr0n/src/imgLoader.cpp b/modules/libpr0n/src/imgLoader.cpp
index fad934115dbe..d521eb06ea7d 100644
--- a/modules/libpr0n/src/imgLoader.cpp
+++ b/modules/libpr0n/src/imgLoader.cpp
@@ -67,8 +67,8 @@ static void PrintImageDecoders()
     if (s) {
       nsCOMPtr<nsISupportsCString> ss(do_QueryInterface(s));
 
-      nsXPIDLCString xcs;
-      ss->GetData(getter_Copies(xcs));
+      nsCAutoString xcs;
+      ss->GetData(xcs);
 
       NS_NAMED_LITERAL_CSTRING(decoderContract, "@mozilla.org/image/decoder;2?type=");