diff options
Diffstat (limited to 'src/dotgfxhierarchytable.cpp')
-rw-r--r-- | src/dotgfxhierarchytable.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dotgfxhierarchytable.cpp b/src/dotgfxhierarchytable.cpp index 025e7cb..1668761 100644 --- a/src/dotgfxhierarchytable.cpp +++ b/src/dotgfxhierarchytable.cpp @@ -250,11 +250,7 @@ DotGfxHierarchyTable::DotGfxHierarchyTable(const QCString &prefix,ClassDef::Comp n->markAsVisible(); n->colorConnectedNodes(curColor); curColor++; - const DotNode *dn=n->findDocNode(); - if (dn!=0) - m_rootSubgraphs.push_back(const_cast<DotNode*>(dn)); - else - m_rootSubgraphs.push_back(n); + m_rootSubgraphs.push_back(n); } } } |