diff --git a/content/xul/document/src/nsXULDocument.cpp b/content/xul/document/src/nsXULDocument.cpp index b6b0826c5537..6202774e8538 100644 --- a/content/xul/document/src/nsXULDocument.cpp +++ b/content/xul/document/src/nsXULDocument.cpp @@ -6229,7 +6229,7 @@ nsXULDocument::CreateXIF(nsString & aBuffer, nsIDOMSelection* aSelection) nsresult result=NS_OK; nsCOMPtr converter; - nsresult res = nsComponentManager::CreateInstance(kXIFConverterCID, + nsComponentManager::CreateInstance(kXIFConverterCID, nsnull, NS_GET_IID(nsIXIFConverter), getter_AddRefs(converter)); diff --git a/rdf/content/src/nsXULDocument.cpp b/rdf/content/src/nsXULDocument.cpp index b6b0826c5537..6202774e8538 100644 --- a/rdf/content/src/nsXULDocument.cpp +++ b/rdf/content/src/nsXULDocument.cpp @@ -6229,7 +6229,7 @@ nsXULDocument::CreateXIF(nsString & aBuffer, nsIDOMSelection* aSelection) nsresult result=NS_OK; nsCOMPtr converter; - nsresult res = nsComponentManager::CreateInstance(kXIFConverterCID, + nsComponentManager::CreateInstance(kXIFConverterCID, nsnull, NS_GET_IID(nsIXIFConverter), getter_AddRefs(converter));