Lines Matching refs:pNewSubNode
2419 OSQLParseNode* OSQLParseNode::replaceAt(sal_uInt32 nPos, OSQLParseNode* pNewSubNode) in replaceAt() argument
2422 OSL_ENSURE(pNewSubNode != NULL, "OSQLParseNode: invalid nodes"); in replaceAt()
2423 OSL_ENSURE(pNewSubNode->getParent() == NULL, "OSQLParseNode: node already has getParent"); in replaceAt()
2425 … OSL_ENSURE(::std::find(m_aChildren.begin(), m_aChildren.end(), pNewSubNode) == m_aChildren.end(), in replaceAt()
2431 pNewSubNode->setParent( this ); in replaceAt()
2434 m_aChildren[nPos] = pNewSubNode; in replaceAt()
2439 OSQLParseNode* OSQLParseNode::replace (OSQLParseNode* pOldSubNode, OSQLParseNode* pNewSubNode ) in replace() argument
2442 OSL_ENSURE(pOldSubNode != NULL && pNewSubNode != NULL, "OSQLParseNode: invalid nodes"); in replace()
2443 OSL_ENSURE(pNewSubNode->getParent() == NULL, "OSQLParseNode: node already has getParent"); in replace()
2446 … OSL_ENSURE(::std::find(m_aChildren.begin(), m_aChildren.end(), pNewSubNode) == m_aChildren.end(), in replace()
2450 pNewSubNode->setParent( this ); in replace()
2451 ::std::replace(m_aChildren.begin(), m_aChildren.end(), pOldSubNode, pNewSubNode); in replace()