diff --git a/mozilla/htmlparser/src/CNavDTD.cpp b/mozilla/htmlparser/src/CNavDTD.cpp index cea970cb7b3..79483478457 100644 --- a/mozilla/htmlparser/src/CNavDTD.cpp +++ b/mozilla/htmlparser/src/CNavDTD.cpp @@ -1691,13 +1691,11 @@ nsresult CNavDTD::CollectAttributes(nsCParserNode& aNode,eHTMLTags aTag,PRInt32 theToken=(CToken*)mSkippedContent.PopFront(); else theToken=mTokenizer->PopToken(); if(theToken) { - CAttributeToken* theAttrToken = ((CAttributeToken*)theToken); - nsString& key=theAttrToken->GetKey(); // Sanitize the key for it might contain some non-alpha-non-digit characters // at its end. Ex.