fixing build warning

git-svn-id: svn://10.0.0.236/trunk@51511 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
valeski%netscape.com
1999-10-22 04:48:31 +00:00
parent 7da3eadc15
commit 3f594fbcb6
2 changed files with 0 additions and 8 deletions

View File

@@ -23,11 +23,9 @@
#include "nsIPresContext.h"
#include "nsIURL.h"
#ifdef NECKO
#include "nsIIOService.h"
#include "nsIURL.h"
#include "nsIServiceManager.h"
#include "nsNeckoUtil.h"
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
#endif // NECKO
#include "nsXIFConverter.h"
#include "nsISizeOfHandler.h"
@@ -875,8 +873,6 @@ nsImageMap::IsInside(nscoord aX, nscoord aY,
NS_MakeAbsoluteURL(aDocURL, area->mBase, area->mHREF, aAbsURL);
#else
nsresult rv;
NS_WITH_SERVICE(nsIIOService, service, kIOServiceCID, &rv);
if (NS_FAILED(rv)) return PR_FALSE;
// Set the image loader's source URL and base URL
nsIURI* baseUri = nsnull;
nsIHTMLContent* htmlContent;

View File

@@ -23,11 +23,9 @@
#include "nsIPresContext.h"
#include "nsIURL.h"
#ifdef NECKO
#include "nsIIOService.h"
#include "nsIURL.h"
#include "nsIServiceManager.h"
#include "nsNeckoUtil.h"
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
#endif // NECKO
#include "nsXIFConverter.h"
#include "nsISizeOfHandler.h"
@@ -875,8 +873,6 @@ nsImageMap::IsInside(nscoord aX, nscoord aY,
NS_MakeAbsoluteURL(aDocURL, area->mBase, area->mHREF, aAbsURL);
#else
nsresult rv;
NS_WITH_SERVICE(nsIIOService, service, kIOServiceCID, &rv);
if (NS_FAILED(rv)) return PR_FALSE;
// Set the image loader's source URL and base URL
nsIURI* baseUri = nsnull;
nsIHTMLContent* htmlContent;