diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-08-14 14:49:07 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-08-14 14:49:07 (GMT) |
commit | 9e6be9a8ae24b788cf2463a703bda48cbd77c773 (patch) | |
tree | fed426d0d7216311cbd009a1fcd2786176478b5e /src/diagram.cpp | |
parent | 6e28050ef5483e624122b0bacb998c40664f78ee (diff) | |
download | Doxygen-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.cpp | 7 |
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; } |