summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-04-03 16:49:13 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-04-03 16:49:13 (GMT)
commite5d8b060f74171bb27a1783d313429b0198ef42b (patch)
treef8bef618690d97139e586f102db4e418c3a5dff8 /src/dot.cpp
parent0ef84d280c0a594f708c8c65e84ff59e8799821f (diff)
downloadDoxygen-e5d8b060f74171bb27a1783d313429b0198ef42b.zip
Doxygen-e5d8b060f74171bb27a1783d313429b0198ef42b.tar.gz
Doxygen-e5d8b060f74171bb27a1783d313429b0198ef42b.tar.bz2
Release 2000-04-03
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index ffa6918..3c59fd6 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -11,7 +11,8 @@
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
- * All output generated with Doxygen is not covered by this license.
+ * Documents produced by Doxygen are derivative works derived from the
+ * input used in their production; they are not affected by this license.
*
*/
@@ -204,7 +205,7 @@ void DotNode::addChild(DotNode *n,
m_edgeInfo = new QList<EdgeInfo>;
m_edgeInfo->setAutoDelete(TRUE);
}
- m_children->insert(0,n);
+ m_children->append(n);
EdgeInfo *ei = new EdgeInfo;
ei->m_color = edgeColor;
ei->m_style = edgeStyle;
@@ -214,7 +215,7 @@ void DotNode::addChild(DotNode *n,
ei->m_labColor=edgeColor;
else
ei->m_labColor=edgeLabCol;
- m_edgeInfo->insert(0,ei);
+ m_edgeInfo->append(ei);
}
void DotNode::addParent(DotNode *n)
@@ -610,7 +611,7 @@ DotGfxHierarchyTable::DotGfxHierarchyTable()
initClassHierarchy(&classList);
ClassListIterator cli(classList);
ClassDef *cd;
- for (cli.toFirst();(cd=cli.current());++cli)
+ for (cli.toLast();(cd=cli.current());--cli)
{
//printf("Trying %s superClasses=%d\n",cd->name().data(),cd->superClasses()->count());
if (!hasVisibleRoot(cd->baseClasses()))