diff options
Diffstat (limited to 'src/dot.cpp')
-rw-r--r-- | src/dot.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dot.cpp b/src/dot.cpp index 6972005..40a7210 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -2530,10 +2530,10 @@ void DotGfxHierarchyTable::addHierarchy(DotNode *n,ClassDef *cd,bool hideSuper) //printf(" inserting %s (%p)\n",bClass->name().data(),bn); m_usedNodes->insert(bClass->name(),bn); // add node to the used list } - if (!bClass->visited && !hideSuper && bClass->subClasses()) + if (!bClass->isVisited() && !hideSuper && bClass->subClasses()) { - bool wasVisited=bClass->visited; - bClass->visited=TRUE; + bool wasVisited=bClass->isVisited(); + bClass->setVisited(TRUE); addHierarchy(bn,bClass,wasVisited); } } @@ -2583,10 +2583,10 @@ void DotGfxHierarchyTable::addClassList(ClassSDict *cl) //m_usedNodes->clear(); m_usedNodes->insert(cd->name(),n); m_rootNodes->insert(0,n); - if (!cd->visited && cd->subClasses()) + if (!cd->isVisited() && cd->subClasses()) { - addHierarchy(n,cd,cd->visited); - cd->visited=TRUE; + addHierarchy(n,cd,cd->isVisited()); + cd->setVisited(TRUE); } } } |