diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2009-08-14 14:49:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2009-08-14 14:49:07 (GMT) |
commit | 8c6ca30831818a77a6947baad63ab99cb8cd8c31 (patch) | |
tree | fed426d0d7216311cbd009a1fcd2786176478b5e /src/diagram.cpp | |
parent | 142b4807d2ae7479691bd0800d28364b9857b82f (diff) | |
download | Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.zip Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.tar.gz Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.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; } |