From 40aba358d951d15276c0b4d27f0967c7c9782b48 Mon Sep 17 00:00:00 2001 From: "jst%netscape.com" Date: Sat, 19 May 2001 12:31:20 +0000 Subject: [PATCH] Fixing build bustage. --- gfx/src/nsFontList.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/src/nsFontList.cpp b/gfx/src/nsFontList.cpp index bbc04d4181d..86e0e434b5c 100644 --- a/gfx/src/nsFontList.cpp +++ b/gfx/src/nsFontList.cpp @@ -29,7 +29,7 @@ #include "nsCOMPtr.h" #include "nsFontList.h" #include "nsGfxCIID.h" -#include "nsLocalString.h" +#include "nsDependentString.h" #include "nsIFontEnumerator.h" #include "nsISimpleEnumerator.h" #include "nsISupportsPrimitives.h" @@ -104,9 +104,9 @@ nsFontListEnumerator::Init(const PRUnichar *aLangGroup, return rv; nsXPIDLCString langGroup; - langGroup = ToNewUTF8String(nsLocalString(aLangGroup)); + langGroup = ToNewUTF8String(nsDependentString(aLangGroup)); nsXPIDLCString fontType; - fontType = ToNewUTF8String(nsLocalString(aFontType)); + fontType = ToNewUTF8String(nsDependentString(aFontType)); rv = fontEnumerator->EnumerateFonts(langGroup.get(), fontType.get(), &mCount, &mFonts); return rv;