summaryrefslogtreecommitdiffstats
path: root/src/diagram.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-08-14 14:49:07 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-08-14 14:49:07 (GMT)
commit9e6be9a8ae24b788cf2463a703bda48cbd77c773 (patch)
treefed426d0d7216311cbd009a1fcd2786176478b5e /src/diagram.cpp
parent6e28050ef5483e624122b0bacb998c40664f78ee (diff)
downloadDoxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.zip
Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.tar.gz
Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.tar.bz2
Release-1.5.9-20090814
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r--src/diagram.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp
index 75a0e00..dd6e601 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -392,7 +392,7 @@ void TreeDiagram::computeLayout()
// re-organize the diagram items
DiagramItem *root=getFirst()->getFirst();
- while (layoutTree(root,0));
+ while (layoutTree(root,0)) { }
// move first items of the lists
if (row)
@@ -1289,8 +1289,9 @@ void ClassDiagram::writeImage(QTextStream &t,const char *path,
base->drawConnectors(t,&image,TRUE,TRUE,baseRows,superRows,cellWidth,cellHeight);
super->drawConnectors(t,&image,FALSE,TRUE,baseRows,superRows,cellWidth,cellHeight);
- image.save((QCString)path+"/"+fileName+".png");
- Doxygen::indexList.addImageFile(QCString(fileName)+".png");
+#define IMAGE_EXT ".gif"
+ image.save((QCString)path+"/"+fileName+IMAGE_EXT);
+ Doxygen::indexList.addImageFile(QCString(fileName)+IMAGE_EXT);
if (generateMap) t << "</map>" << endl;
}