diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-03-28 13:38:53 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-03-28 13:38:53 (GMT) |
commit | 4fa6a6049a696a55520a0537192697798f29602d (patch) | |
tree | 8e755f934e036b4b48c96948a075bf607fadc0cf /src/mandocvisitor.cpp | |
parent | b91d710ef9e95feffbb1c97d3fc7695157e0731e (diff) | |
download | Doxygen-4fa6a6049a696a55520a0537192697798f29602d.zip Doxygen-4fa6a6049a696a55520a0537192697798f29602d.tar.gz Doxygen-4fa6a6049a696a55520a0537192697798f29602d.tar.bz2 |
Release-1.4.2
Diffstat (limited to 'src/mandocvisitor.cpp')
-rw-r--r-- | src/mandocvisitor.cpp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/mandocvisitor.cpp b/src/mandocvisitor.cpp index 0d731fb..e600709 100644 --- a/src/mandocvisitor.cpp +++ b/src/mandocvisitor.cpp @@ -804,13 +804,22 @@ void ManDocVisitor::visitPre(DocParamList *pl) { if (m_hide) return; m_t << "\\fI"; - QStrListIterator li(pl->parameters()); - const char *s; + //QStrListIterator li(pl->parameters()); + //const char *s; + QListIterator<DocNode> li(pl->parameters()); + DocNode *param; bool first=TRUE; - for (li.toFirst();(s=li.current());++li) + for (li.toFirst();(param=li.current());++li) { if (!first) m_t << ","; else first=FALSE; - m_t << s; + if (param->kind()==DocNode::Kind_Word) + { + visit((DocWord*)param); + } + else if (param->kind()==DocNode::Kind_LinkedWord) + { + visit((DocLinkedWord*)param); + } } m_t << "\\fP "; } |