summaryrefslogtreecommitdiffstats
path: root/src/perlmodgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2013-12-01 14:16:26 (GMT)
committeralbert-github <albert.tests@gmail.com>2013-12-01 14:16:26 (GMT)
commita481a84fdf39cdf40b38ebaad86b2a159db4c383 (patch)
treed1cc2141ef0dd061c635940e6740e2c641c821d9 /src/perlmodgen.cpp
parentd809d163b60a42850c0c4db72c1ba1ed7785416b (diff)
downloadDoxygen-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/perlmodgen.cpp')
-rw-r--r--src/perlmodgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp
index dd0dbbb..5537438 100644
--- a/src/perlmodgen.cpp
+++ b/src/perlmodgen.cpp
@@ -1360,14 +1360,14 @@ void PerlModDocVisitor::visitPre(DocXRefItem *x)
m_output.add("</xreftitle>");
m_output.add("<xrefdescription>");
#endif
- if (!(x->title().length())) return;
+ if (x->title().isEmpty()) return;
openItem("xrefitem");
openSubBlock("content");
}
void PerlModDocVisitor::visitPost(DocXRefItem *x)
{
- if (!(x->title().length())) return;
+ if (x->title().isEmpty()) return;
closeSubBlock();
closeItem();
#if 0