issue 1629 - NNE - 20131105
| 332 | |
| 333 | //issue 1629 - NNE - 20131105 |
| 334 | bool UBDocumentTreeNode::findNode(UBDocumentTreeNode *node) |
| 335 | { |
| 336 | UBDocumentTreeNode *parent = node->parentNode(); |
| 337 | |
| 338 | bool hasFound = false; |
| 339 | |
| 340 | while(parent){ |
| 341 | if(parent == this){ |
| 342 | hasFound = true; |
| 343 | break; |
| 344 | } |
| 345 | |
| 346 | parent = parent->parentNode(); |
| 347 | } |
| 348 | |
| 349 | return hasFound; |
| 350 | } |
| 351 | |
| 352 | UBDocumentTreeNode *UBDocumentTreeNode::nextSibling() |
| 353 | { |
no test coverage detected