Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.

This commit is contained in:
waterson%netscape.com 2006-07-27 14:53:00 +00:00
Родитель 35e7ef854b
Коммит fd8e3009e2
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -29,7 +29,7 @@
const RDFSERVICE_CONTRACTID = "@mozilla.org/rdf/rdf-service;1";
const DRAGSERVICE_CONTRACTID = "@mozilla.org/widget/dragservice;1";
const TRANSFERABLE_CONTRACTID = "@mozilla.org/widget/transferable;1";
const XULSORTSERVICE_CONTRACTID = "@mozilla.org/rdf/xul-sort-service;1";
const XULSORTSERVICE_CONTRACTID = "@mozilla.org/xul/xul-sort-service;1";
const ARRAY_CONTRACTID = "@mozilla.org/supports-array;1";
const WSTRING_CONTRACTID = "@mozilla.org/supports-wstring;1";

Просмотреть файл

@ -223,7 +223,7 @@ function doSort(sortColName, naturalOrderResource)
}
}
var isupports = Components.classes["@mozilla.org/rdf/xul-sort-service;1"].getService();
var isupports = Components.classes["@mozilla.org/xul/xul-sort-service;1"].getService();
if (!isupports) return(false);
var xulSortService = isupports.QueryInterface(Components.interfaces.nsIXULSortService);
if (!xulSortService) return(false);

Просмотреть файл

@ -331,7 +331,7 @@ function doSort(sortColName, naturalOrderResource)
}
}
var isupports = Components.classes["@mozilla.org/rdf/xul-sort-service;1"].getService();
var isupports = Components.classes["@mozilla.org/xul/xul-sort-service;1"].getService();
if (!isupports) return(false);
var xulSortService = isupports.QueryInterface(Components.interfaces.nsIXULSortService);
if (!xulSortService) return(false);
@ -356,7 +356,7 @@ function setInitialSort(node, sortDirection)
try
{
var isupports = Components.classes["@mozilla.org/rdf/xul-sort-service;1"].getService();
var isupports = Components.classes["@mozilla.org/xul/xul-sort-service;1"].getService();
if (!isupports) return(false);
var xulSortService = isupports.QueryInterface(Components.interfaces.nsIXULSortService);
if (!xulSortService) return(false);