diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-31 16:53:20 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-31 16:53:20 (GMT) |
commit | 7b4c4577ef836deada725ffb76ed1248b52e9cda (patch) | |
tree | db7867595eaa3f8b39f96ad92b6a322673adbbfc /src/docbookgen.cpp | |
parent | 450afb801fe3aa0a9c820070f4b0f00f09e984ea (diff) | |
download | Doxygen-7b4c4577ef836deada725ffb76ed1248b52e9cda.zip Doxygen-7b4c4577ef836deada725ffb76ed1248b52e9cda.tar.gz Doxygen-7b4c4577ef836deada725ffb76ed1248b52e9cda.tar.bz2 |
Moved check for page having a title to hasTitle() method
Diffstat (limited to 'src/docbookgen.cpp')
-rw-r--r-- | src/docbookgen.cpp | 2 |
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; } |