From 2d2fb4f7f2e86e999d0853ec841d6dfce3ad3678 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Sat, 4 Feb 2012 15:02:06 +0000 Subject: [PATCH] Bug 705429 - Remove dead code: txNamespaceMap::lookupNamespace(const nsAString&); r=peterv --- content/xslt/src/base/txNamespaceMap.cpp | 8 -------- content/xslt/src/base/txNamespaceMap.h | 1 - 2 files changed, 9 deletions(-) diff --git a/content/xslt/src/base/txNamespaceMap.cpp b/content/xslt/src/base/txNamespaceMap.cpp index da091e2ac1d0..a37fbd920e1a 100644 --- a/content/xslt/src/base/txNamespaceMap.cpp +++ b/content/xslt/src/base/txNamespaceMap.cpp @@ -119,14 +119,6 @@ txNamespaceMap::lookupNamespace(nsIAtom* aPrefix) return kNameSpaceID_Unknown; } -PRInt32 -txNamespaceMap::lookupNamespace(const nsAString& aPrefix) -{ - nsCOMPtr prefix = do_GetAtom(aPrefix); - - return lookupNamespace(prefix); -} - PRInt32 txNamespaceMap::lookupNamespaceWithDefault(const nsAString& aPrefix) { diff --git a/content/xslt/src/base/txNamespaceMap.h b/content/xslt/src/base/txNamespaceMap.h index 8db9707618c2..b34ff11aa0fe 100644 --- a/content/xslt/src/base/txNamespaceMap.h +++ b/content/xslt/src/base/txNamespaceMap.h @@ -65,7 +65,6 @@ public: nsresult mapNamespace(nsIAtom* aPrefix, const nsAString& aNamespaceURI); PRInt32 lookupNamespace(nsIAtom* aPrefix); - PRInt32 lookupNamespace(const nsAString& aPrefix); PRInt32 lookupNamespaceWithDefault(const nsAString& aPrefix); private: