summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-04-03 16:49:13 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-04-03 16:49:13 (GMT)
commitba6357a253beeff03588578154bbc311bd986a47 (patch)
treef8bef618690d97139e586f102db4e418c3a5dff8 /src/dot.cpp
parenteebd65ca04ebb2de83e99162713161fbdaa55a61 (diff)
downloadDoxygen-ba6357a253beeff03588578154bbc311bd986a47.zip
Doxygen-ba6357a253beeff03588578154bbc311bd986a47.tar.gz
Doxygen-ba6357a253beeff03588578154bbc311bd986a47.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()))