Skip to content
Snippets Groups Projects
Commit 5c41877d authored by Khaled Noaman's avatar Khaled Noaman
Browse files

Use XMLSSize_t instead of XMLSize_t.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174073 13f79535-47bb-0310-9956-ffa450edef68
parent f8fb7de7
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,7 @@ void DOMElementImpl::removeAttribute(const XMLCh *nam)
throw DOMException(
DOMException::NO_MODIFICATION_ALLOWED_ERR, 0);
XMLSize_t i = fAttributes->findNamePoint(nam);
XMLSSize_t i = fAttributes->findNamePoint(nam);
if (i >= 0)
{
DOMNode *att = fAttributes->removeNamedItemAt(i);
......@@ -227,7 +227,7 @@ DOMAttr *DOMElementImpl::removeAttributeNode(DOMAttr *oldAttr)
// Since there is no removeAttributeNodeNS, check if this oldAttr has NS or not
const XMLCh* localName = oldAttr->getLocalName();
XMLSize_t i = 0;
XMLSSize_t i = 0;
if (localName)
i = fAttributes->findNamePoint(oldAttr->getNamespaceURI(), localName);
else
......@@ -335,7 +335,7 @@ void DOMElementImpl::removeAttributeNS(const XMLCh *fNamespaceURI,
throw DOMException(
DOMException::NO_MODIFICATION_ALLOWED_ERR, 0);
XMLSize_t i = fAttributes->findNamePoint(fNamespaceURI, fLocalName);
XMLSSize_t i = fAttributes->findNamePoint(fNamespaceURI, fLocalName);
if (i >= 0)
{
DOMNode *att = fAttributes->removeNamedItemAt(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment