Bug 212222 - Load default prefs from the GRE and from the application. r/sr=alecf/darin

NOTE: This is only the backend work necessary to load prefs. The actual separation of prefs into application/embedding will happen in another bug.


git-svn-id: svn://10.0.0.236/trunk@148776 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bsmedberg%covad.net
2003-11-03 16:46:13 +00:00
parent 3c1974bae3
commit d806a6edb3
3 changed files with 124 additions and 97 deletions

View File

@@ -219,7 +219,7 @@ class nsCOMArray : public nsCOMArray_base
}
typedef int (* PR_CALLBACK nsCOMArrayComparatorFunc)
(const T* aElement1, const T* aElement2, void* aData);
(T* aElement1, T* aElement2, void* aData);
void Sort(nsCOMArrayComparatorFunc aFunc, void* aData) {
nsCOMArray_base::Sort(nsVoidArrayComparatorFunc(aFunc), aData);