Rename nsNameSpaceMap to nsXMLNameSpaceMap to avoid symbol collision in static builds (bug 281728). r=dbaron.

This commit is contained in:
bryner@brianryner.com
2005-02-19 00:10:38 +00:00
parent 4afadff806
commit cf349ccb13
9 changed files with 38 additions and 38 deletions
+3 -3
View File
@@ -61,7 +61,7 @@
#include "nsIDOMCSSStyleDeclaration.h"
#include "nsDOMCSSDeclaration.h"
#include "nsINameSpaceManager.h"
#include "nsNameSpaceMap.h"
#include "nsXMLNameSpaceMap.h"
#include "nsILookAndFeel.h"
#include "nsRuleNode.h"
#include "nsUnicharUtils.h"
@@ -580,7 +580,7 @@ void nsCSSSelector::ToStringInternal(nsAString& aString,
// before it.
aString.Append(PRUnichar('|'));
} else {
nsNameSpaceMap *sheetNS = aSheet->GetNameSpaceMap();
nsXMLNameSpaceMap *sheetNS = aSheet->GetNameSpaceMap();
// sheetNS is non-null if and only if we had an @namespace rule. If it's
// null, that means that the only namespaces we could have are the
@@ -669,7 +669,7 @@ void nsCSSSelector::ToStringInternal(nsAString& aString,
aString.Append(PRUnichar('['));
// Append the namespace prefix
if (list->mNameSpace > 0) {
nsNameSpaceMap *sheetNS = aSheet->GetNameSpaceMap();
nsXMLNameSpaceMap *sheetNS = aSheet->GetNameSpaceMap();
// will return null if namespace was the default
nsIAtom *prefixAtom = sheetNS->FindPrefix(list->mNameSpace);
if (prefixAtom) {