diff options
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r-- | src/latexdocvisitor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index e68a51b..91064a3 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -1515,6 +1515,7 @@ void LatexDocVisitor::visitPost(DocParamList *pl) void LatexDocVisitor::visitPre(DocXRefItem *x) { if (m_hide) return; + if (x->title().isEmpty()) return; m_t << "\\begin{DoxyRefDesc}{"; filter(x->title()); m_t << "}" << endl; @@ -1534,9 +1535,10 @@ void LatexDocVisitor::visitPre(DocXRefItem *x) m_t << "}]"; } -void LatexDocVisitor::visitPost(DocXRefItem *) +void LatexDocVisitor::visitPost(DocXRefItem *x) { if (m_hide) return; + if (x->title().isEmpty()) return; m_t << "\\end{DoxyRefDesc}" << endl; } |