summaryrefslogtreecommitdiff
path: root/tools/aapt/XMLNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt/XMLNode.cpp')
-rw-r--r--tools/aapt/XMLNode.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp
index 5b215daeb494..dc08eb806356 100644
--- a/tools/aapt/XMLNode.cpp
+++ b/tools/aapt/XMLNode.cpp
@@ -693,12 +693,6 @@ const Vector<sp<XMLNode> >& XMLNode::getChildren() const
return mChildren;
}
-
-Vector<sp<XMLNode> >& XMLNode::getChildren()
-{
- return mChildren;
-}
-
const String8& XMLNode::getFilename() const
{
return mFilename;
@@ -723,18 +717,6 @@ const XMLNode::attribute_entry* XMLNode::getAttribute(const String16& ns,
return NULL;
}
-bool XMLNode::removeAttribute(const String16& ns, const String16& name)
-{
- for (size_t i = 0; i < mAttributes.size(); i++) {
- const attribute_entry& ae(mAttributes.itemAt(i));
- if (ae.ns == ns && ae.name == name) {
- removeAttribute(i);
- return true;
- }
- }
- return false;
-}
-
XMLNode::attribute_entry* XMLNode::editAttribute(const String16& ns,
const String16& name)
{