diff options
author | albert-github <albert.tests@gmail.com> | 2013-12-01 14:16:26 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2013-12-01 14:16:26 (GMT) |
commit | a481a84fdf39cdf40b38ebaad86b2a159db4c383 (patch) | |
tree | d1cc2141ef0dd061c635940e6740e2c641c821d9 /src/rtfdocvisitor.cpp | |
parent | d809d163b60a42850c0c4db72c1ba1ed7785416b (diff) | |
download | Doxygen-a481a84fdf39cdf40b38ebaad86b2a159db4c383.zip Doxygen-a481a84fdf39cdf40b38ebaad86b2a159db4c383.tar.gz Doxygen-a481a84fdf39cdf40b38ebaad86b2a159db4c383.tar.bz2 |
Bug 719639 - @xrefitem with empty heading string
Replaced:
if (!(x->title().length())) return;
by:
if (x->title().isEmpty()) return;
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r-- | src/rtfdocvisitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index d83d8c0..866c660 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -1579,7 +1579,7 @@ void RTFDocVisitor::visitPost(DocParamList *pl) void RTFDocVisitor::visitPre(DocXRefItem *x) { if (m_hide) return; - if (!(x->title().length())) return; + if (x->title().isEmpty()) return; bool anonymousEnum = x->file()=="@"; DBG_RTF("{\\comment RTFDocVisitor::visitPre(DocXRefItem)}\n"); m_t << "{"; // start param list @@ -1628,7 +1628,7 @@ void RTFDocVisitor::visitPre(DocXRefItem *x) void RTFDocVisitor::visitPost(DocXRefItem *x) { if (m_hide) return; - if (!(x->title().length())) return; + if (x->title().isEmpty()) return; DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocXRefItem)}\n"); m_t << "\\par" << endl; decIndentLevel(); |