summaryrefslogtreecommitdiffstats
path: root/src/docbookgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/docbookgen.cpp')
-rw-r--r--src/docbookgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docbookgen.cpp b/src/docbookgen.cpp
index 97c602d..011ef12 100644
--- a/src/docbookgen.cpp
+++ b/src/docbookgen.cpp
@@ -635,7 +635,7 @@ DB_GEN_C
if (!pd->getGroupDef() && !pd->isReference() && pd->name() == stripPath(name))
{
t << "<chapter>\n";
- if (!pd->title().isEmpty())
+ if (pd->hasTitle())
{
t << " <title>" << convertToDocBook(pd->title()) << "</title>" << endl;
}