From 7c8e58d843f96abc3079ebbb4ce967bbc9745812 Mon Sep 17 00:00:00 2001 From: "sdagley%netscape.com" Date: Mon, 1 Oct 2001 00:57:54 +0000 Subject: [PATCH] Fix Fizilla build bustage caused by conflict between ccarlen's checkin and jag's string changes. r=jag git-svn-id: svn://10.0.0.236/trunk@104275 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsLocalFileMac.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsLocalFileMac.cpp b/mozilla/xpcom/io/nsLocalFileMac.cpp index 66b4bfae7f1..d8e23e0ccff 100644 --- a/mozilla/xpcom/io/nsLocalFileMac.cpp +++ b/mozilla/xpcom/io/nsLocalFileMac.cpp @@ -38,6 +38,8 @@ #include "prerror.h" #include "nsEscape.h" +#include "nsReadableUtils.h" + #ifdef MACOSX #include "nsXPIDLString.h" @@ -1626,7 +1628,7 @@ nsLocalFile::GetPath(char **_retval) if (NS_FAILED(rv)) return rv; // When nsIFile params are all nsAString&, we won't have to do this - *_retval = fsCharSetPathStr.ToNewCString(); + *_retval = ToNewCString(fsCharSetPathStr); if (!*_retval) return NS_ERROR_OUT_OF_MEMORY; }