diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-03-28 13:38:53 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-03-28 13:38:53 (GMT) |
commit | c8be4837b6a2a96cc3e57aa941645b9dc017e8b2 (patch) | |
tree | 8e755f934e036b4b48c96948a075bf607fadc0cf /src/latexdocvisitor.cpp | |
parent | 2fcc16df64d2af93fc0bb01617f8531116118e8d (diff) | |
download | Doxygen-c8be4837b6a2a96cc3e57aa941645b9dc017e8b2.zip Doxygen-c8be4837b6a2a96cc3e57aa941645b9dc017e8b2.tar.gz Doxygen-c8be4837b6a2a96cc3e57aa941645b9dc017e8b2.tar.bz2 |
Release-1.4.2
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r-- | src/latexdocvisitor.cpp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index ab2ee83..8cbefc0 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -909,14 +909,23 @@ void LatexDocVisitor::visitPre(DocParamList *pl) m_t << "} "; } m_t << "{\\em "; - 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_insideItem=TRUE; - filter(s); + if (param->kind()==DocNode::Kind_Word) + { + visit((DocWord*)param); + } + else if (param->kind()==DocNode::Kind_LinkedWord) + { + visit((DocLinkedWord*)param); + } m_insideItem=FALSE; } m_t << "}]"; |