diff options
Diffstat (limited to 'src/dotgroupcollaboration.cpp')
-rw-r--r-- | src/dotgroupcollaboration.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/dotgroupcollaboration.cpp b/src/dotgroupcollaboration.cpp index 655a0e8..33ac397 100644 --- a/src/dotgroupcollaboration.cpp +++ b/src/dotgroupcollaboration.cpp @@ -139,15 +139,10 @@ void DotGroupCollaboration::buildGraph(const GroupDef* gd) } // Add pages - if ( gd->getPages() && gd->getPages()->count() ) + for (const auto &def : gd->getPages()) { - PageSDict::Iterator defli(*gd->getPages()); - PageDef *def; - for (;(def=defli.current());++defli) - { - tmp_url = def->getReference()+"$"+def->getOutputFileBase()+Doxygen::htmlFileExtension; - addCollaborationMember( def, tmp_url, DotGroupCollaboration::tpages ); - } + tmp_url = def->getReference()+"$"+def->getOutputFileBase()+Doxygen::htmlFileExtension; + addCollaborationMember( def, tmp_url, DotGroupCollaboration::tpages ); } // Add directories |