summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-11 22:30:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-12 10:47:09 +0000
commit0d7932327bf221b5132f0c84b25c67deb4cd904b (patch)
tree10d5f655522593187a44a16ce100f202b2ca97fd /xmlsecurity
parent4f00cdfec54a574e25f47dab2f65b299ea64ec73 (diff)
callcatcher: ditch unused childat
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/framework/buffernode.cxx34
-rw-r--r--xmlsecurity/source/framework/buffernode.hxx1
2 files changed, 0 insertions, 35 deletions
diff --git a/xmlsecurity/source/framework/buffernode.cxx b/xmlsecurity/source/framework/buffernode.cxx
index e70642910f24..a6de3ca2d182 100644
--- a/xmlsecurity/source/framework/buffernode.cxx
+++ b/xmlsecurity/source/framework/buffernode.cxx
@@ -537,40 +537,6 @@ sal_Int32 BufferNode::indexOfChild(const BufferNode* pChild) const
return nIndex;
}
-const BufferNode* BufferNode::childAt(sal_Int32 nIndex) const
-/****** BufferNode/childAt ***************************************************
- *
- * NAME
- * childAt -- retrieves the child BufferNode at specific possition.
- *
- * SYNOPSIS
- * child = childAt(nIndex);
- *
- * FUNCTION
- * see NAME
- *
- * INPUTS
- * nIndex - the index of the child BufferNode to be retrieved
- *
- * RESULT
- * child - the child BufferNode at index position, or NULL if the index
- * is out of the range of children.
- *
- * AUTHOR
- * Michael Mi
- * Email: michael.mi@sun.com
- ******************************************************************************/
-{
- BufferNode* rc = NULL;
-
- if (nIndex < ((sal_Int32)m_vChildren.size()) && nIndex >= 0)
- {
- rc = (BufferNode*)m_vChildren[nIndex];
- }
-
- return (const BufferNode*)rc;
-}
-
const BufferNode* BufferNode::getParent() const
{
return m_pParent;
diff --git a/xmlsecurity/source/framework/buffernode.hxx b/xmlsecurity/source/framework/buffernode.hxx
index bdece77655fd..7744a2dc3a7d 100644
--- a/xmlsecurity/source/framework/buffernode.hxx
+++ b/xmlsecurity/source/framework/buffernode.hxx
@@ -114,7 +114,6 @@ public:
void addChild(const BufferNode* pChild);
void removeChild(const BufferNode* pChild);
sal_Int32 indexOfChild(const BufferNode* pChild) const;
- const BufferNode* childAt(sal_Int32 nIndex) const;
const BufferNode* getParent() const;
void setParent(const BufferNode* pParent);
const BufferNode* getNextSibling() const;