Bug 508760 - Remove MSVC6 support from the tree; (Bv1) xpcom/ds/*.cpp; r=doug.turner

--HG--
extra : rebase_source : 5a08118a7f1562c89c4e0da5035ef6a578eca9f2
This commit is contained in:
Serge Gautherie 2009-08-09 00:45:46 +02:00
parent de49b52e4c
commit 28965346e8
2 changed files with 1 additions and 9 deletions

View File

@ -102,9 +102,7 @@ nsObserverService::Create(nsISupports* outer, const nsIID& aIID, void* *aInstanc
nsRefPtr<nsObserverService> os = new nsObserverService();
// The cast is required for MSVC6, otherwise it complains about calling
// a private function.
if (!os || !((nsObserverService*) os)->mObserverTopicTable.IsInitialized())
if (!os || !os->mObserverTopicTable.IsInitialized())
return NS_ERROR_OUT_OF_MEMORY;
return os->QueryInterface(aIID, aInstancePtr);

View File

@ -43,12 +43,6 @@
#include "nsString.h"
#include "nsCOMPtr.h"
// The Platform SDK included with VC6 does not define REG_QWORD. VC 7's
// WinNT.h defines REG_QWORD as follows:
#ifndef REG_QWORD
# define REG_QWORD 11
#endif
//-----------------------------------------------------------------------------
// According to MSDN, the following limits apply (in characters excluding room