From 0f4f0f5bff3e5bbb16fa6908084654b7eb8dcea4 Mon Sep 17 00:00:00 2001 From: "jband%netscape.com" Date: Wed, 13 Dec 2000 04:36:53 +0000 Subject: [PATCH] fix bustage to XPCOM_STANDALONE from fix to bug 43591. r=dbaron sr=brendan git-svn-id: svn://10.0.0.236/trunk@83596 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsLocalFileCommon.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/xpcom/io/nsLocalFileCommon.cpp b/mozilla/xpcom/io/nsLocalFileCommon.cpp index 5d856c67e3f..c4e4d9a47da 100644 --- a/mozilla/xpcom/io/nsLocalFileCommon.cpp +++ b/mozilla/xpcom/io/nsLocalFileCommon.cpp @@ -54,8 +54,10 @@ private: }; nsString* nsFSStringConversion::mFSCharset = nsnull; +#ifndef XPCOM_STANDALONE nsIUnicodeEncoder* nsFSStringConversion::mEncoder = nsnull; nsIUnicodeDecoder* nsFSStringConversion::mDecoder = nsnull; +#endif /* XPCOM_STANDALONE */ #define GET_UCS( func , arg) \ { \ @@ -112,8 +114,10 @@ nsIUnicodeDecoder* nsFSStringConversion::mDecoder = nsnull; void nsFSStringConversion::CleanUp() { +#ifndef XPCOM_STANDALONE NS_IF_RELEASE(mEncoder); NS_IF_RELEASE(mDecoder); +#endif /* XPCOM_STANDALONE */ } /* static */ nsresult