This commit is contained in:
sspitzer%netscape.com 1999-11-16 19:24:35 +00:00
Родитель fa84f35c0c
Коммит 62adac0880
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -314,8 +314,8 @@ NS_IMPL_ISUPPORTS2(nsMsgAccountManager, nsIMsgAccountManager, nsIObserver)
nsMsgAccountManager::nsMsgAccountManager() : nsMsgAccountManager::nsMsgAccountManager() :
m_accountsLoaded(PR_FALSE), m_accountsLoaded(PR_FALSE),
m_defaultAccount(null_nsCOMPtr()), m_defaultAccount(null_nsCOMPtr()),
m_prefs(0), m_haveShutdown(PR_FALSE),
m_haveShutdown(PR_FALSE) m_prefs(0)
{ {
NS_INIT_REFCNT(); NS_INIT_REFCNT();

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

@ -57,7 +57,7 @@ nsPrimitiveHelpers :: CreatePrimitiveForData ( const char* aFlavor, void* aDataB
nsCOMPtr<nsISupportsWString> primitive; nsCOMPtr<nsISupportsWString> primitive;
nsresult rv = nsComponentManager::CreateInstance(NS_SUPPORTS_WSTRING_PROGID, nsnull, nsresult rv = nsComponentManager::CreateInstance(NS_SUPPORTS_WSTRING_PROGID, nsnull,
NS_GET_IID(nsISupportsWString), getter_AddRefs(primitive)); NS_GET_IID(nsISupportsWString), getter_AddRefs(primitive));
if ( primitive ) { if (NS_SUCCEEDED(rv) && primitive ) {
primitive->SetData ( (unsigned short*)aDataBuff ); primitive->SetData ( (unsigned short*)aDataBuff );
nsCOMPtr<nsISupports> genericPrimitive ( do_QueryInterface(primitive) ); nsCOMPtr<nsISupports> genericPrimitive ( do_QueryInterface(primitive) );
*aPrimitive = genericPrimitive; *aPrimitive = genericPrimitive;