зеркало из https://github.com/mozilla/pjs.git
OS/2 build bustage
This commit is contained in:
Родитель
823fa29806
Коммит
c0048ded40
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
#include "nsReadableUtils.h"
|
#include "nsReadableUtils.h"
|
||||||
#include "nsISupportsPrimitives.h"
|
#include "nsISupportsPrimitives.h"
|
||||||
#include "nsArray.h"
|
#include "nsIMutableArray.h"
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// static helper functions
|
// static helper functions
|
||||||
|
@ -1144,10 +1144,9 @@ nsLocalFile::GetFileTypes(nsIArray **_retval)
|
||||||
return rv;
|
return rv;
|
||||||
|
|
||||||
// create an array that's scriptable
|
// create an array that's scriptable
|
||||||
nsCOMPtr<nsIMutableArray> mutArray;
|
nsCOMPtr<nsIMutableArray> mutArray =
|
||||||
rv = NS_NewArray(getter_AddRefs(mutArray));
|
do_CreateInstance(NS_ARRAY_CONTRACTID);
|
||||||
if (NS_FAILED(rv))
|
NS_ENSURE_STATE(mutArray);
|
||||||
return rv;
|
|
||||||
|
|
||||||
PRInt32 cnt;
|
PRInt32 cnt;
|
||||||
PRUint32 lth;
|
PRUint32 lth;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче