| 85 | |
| 86 | |
| 87 | void cFCONameTblNode::SetLowercaseNode(cFCONameTblNode* pNewNode) |
| 88 | { |
| 89 | ASSERT(pNewNode != 0); // doesn't make sense to set this to NULL |
| 90 | |
| 91 | if (mpLowerNode) |
| 92 | mpLowerNode->Release(); |
| 93 | if (pNewNode == this) |
| 94 | { |
| 95 | // we can't store a pointer to ourselves, since reference counting doesn't go well |
| 96 | // with circular pointers, so we will represent this with a NULL pointer |
| 97 | mpLowerNode = NULL; |
| 98 | return; |
| 99 | } |
| 100 | pNewNode->AddRef(); |
| 101 | mpLowerNode = pNewNode; |
| 102 | } |
| 103 | |
| 104 | void cFCONameTblNode::SetString(const TSTRING& newStr) |
| 105 | { |
no test coverage detected