Bug 207864 Some things GetService "@mozilla.org/rdf/container;1"

r=neil sr=jag
This commit is contained in:
timeless%mozdev.org 2006-07-27 14:58:32 +00:00
Родитель c25e717a34
Коммит a97501c79a
1 изменённых файлов: 3 добавлений и 6 удалений

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

@ -55,14 +55,11 @@ try
pref = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefBranch);
RDF = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService();
if (RDF) RDF = RDF.QueryInterface(Components.interfaces.nsIRDFService);
RDF = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(Components.interfaces.nsIRDFService);
RDFC = Components.classes["@mozilla.org/rdf/container;1"].getService();
if (RDFC) RDFC = RDFC.QueryInterface(Components.interfaces.nsIRDFContainer);
RDFC = Components.classes["@mozilla.org/rdf/container;1"].createInstance(Components.interfaces.nsIRDFContainer);
RDFCUtils = Components.classes["@mozilla.org/rdf/container-utils;1"].getService();
if (RDFCUtils) RDFCUtils = RDFCUtils.QueryInterface(Components.interfaces.nsIRDFContainerUtils);
RDFCUtils = Components.classes["@mozilla.org/rdf/container-utils;1"].getService(Components.interfaces.nsIRDFContainerUtils);
}
catch(e)
{