Fixed purify errors. Thanks to bruce@cybersight.com for the patches.
This commit is contained in:
Родитель
c59cbb3e36
Коммит
464911f03f
|
@ -31,7 +31,7 @@ class nsLocale : public nsILocale {
|
|||
public:
|
||||
|
||||
nsLocale(nsString** catagoryList,nsString** valueList, PRUint32 count);
|
||||
~nsLocale(void);
|
||||
virtual ~nsLocale(void);
|
||||
|
||||
NS_IMETHOD GetCatagory(const nsString* catagory, nsString* result);
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ class nsLocaleUnixFactory : public nsIFactory
|
|||
NS_IMETHOD LockFactory(PRBool aLock);
|
||||
|
||||
nsLocaleUnixFactory(const nsCID &aClass);
|
||||
~nsLocaleUnixFactory();
|
||||
virtual ~nsLocaleUnixFactory();
|
||||
|
||||
private:
|
||||
nsrefcnt mRefCnt;
|
||||
|
|
|
@ -294,7 +294,7 @@ nsresult nsCharsetConverterManager::GetCharsetConverter(
|
|||
const ConverterInfo * aArray,
|
||||
PRInt32 aSize)
|
||||
{
|
||||
nsresult res;
|
||||
nsresult res = NS_ERROR_UCONV_NOCONV;
|
||||
nsString * str;
|
||||
GetCharsetName(aSrc, &str);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче