callcatcher: ditch unused childat
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
AtomDocument::AtomDocument(AtomPubSession*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
|
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> >)
|
AtomFolder::AtomFolder(AtomPubSession*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
|
||||||
AtomPubSession::getCollectionUrl(Collection::Type)
|
AtomPubSession::getCollectionUrl(Collection::Type)
|
||||||
BufferNode::childAt(int) const
|
|
||||||
ByteString::Assign(char const*, unsigned short)
|
ByteString::Assign(char const*, unsigned short)
|
||||||
ByteString::Assign(char)
|
ByteString::Assign(char)
|
||||||
ByteString::ByteString(char const*, unsigned short)
|
ByteString::ByteString(char const*, unsigned short)
|
||||||
|
@@ -537,40 +537,6 @@ sal_Int32 BufferNode::indexOfChild(const BufferNode* pChild) const
|
|||||||
return nIndex;
|
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
|
const BufferNode* BufferNode::getParent() const
|
||||||
{
|
{
|
||||||
return m_pParent;
|
return m_pParent;
|
||||||
|
@@ -114,7 +114,6 @@ public:
|
|||||||
void addChild(const BufferNode* pChild);
|
void addChild(const BufferNode* pChild);
|
||||||
void removeChild(const BufferNode* pChild);
|
void removeChild(const BufferNode* pChild);
|
||||||
sal_Int32 indexOfChild(const BufferNode* pChild) const;
|
sal_Int32 indexOfChild(const BufferNode* pChild) const;
|
||||||
const BufferNode* childAt(sal_Int32 nIndex) const;
|
|
||||||
const BufferNode* getParent() const;
|
const BufferNode* getParent() const;
|
||||||
void setParent(const BufferNode* pParent);
|
void setParent(const BufferNode* pParent);
|
||||||
const BufferNode* getNextSibling() const;
|
const BufferNode* getNextSibling() const;
|
||||||
|
Reference in New Issue
Block a user