callcatcher: ditch unused childat

This commit is contained in:
Caolán McNamara 2012-01-11 22:30:39 +00:00
parent 4f00cdfec5
commit 0d7932327b
3 changed files with 0 additions and 36 deletions

View file

@ -1,7 +1,6 @@
AtomDocument::AtomDocument(AtomPubSession*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
AtomFolder::AtomFolder(AtomPubSession*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
AtomPubSession::getCollectionUrl(Collection::Type)
BufferNode::childAt(int) const
ByteString::Assign(char const*, unsigned short)
ByteString::Assign(char)
ByteString::ByteString(char const*, unsigned short)

View file

@ -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;

View file

@ -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;