summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-05-26 18:28:00 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-05-26 18:28:00 (GMT)
commit67a22b2d5b9c14a325374dd8857e066b11abb7ca (patch)
tree683c8ea7302818951984cf75c66f02f7d01b6489 /src/rtfgen.cpp
parent63696c08425fc1662c5e76280e3cc74fb3769d80 (diff)
downloadDoxygen-67a22b2d5b9c14a325374dd8857e066b11abb7ca.zip
Doxygen-67a22b2d5b9c14a325374dd8857e066b11abb7ca.tar.gz
Doxygen-67a22b2d5b9c14a325374dd8857e066b11abb7ca.tar.bz2
Bug 774597 - Title in rtf file is incorrect when overridden by user in extension file
Corrected title in case of extension file used.
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 9a6f549..ffec9fd 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -602,7 +602,7 @@ void RTFGenerator::endIndexSection(IndexSections is)
t << rtf_Style_Reset << rtf_Style["Title"]->reference << endl; // set to title style
if (rtf_title)
// User has overridden document title in extensions file
- t << "{\\field\\fldedit {\\*\\fldinst " << rtf_title << " \\\\*MERGEFORMAT}{\\fldrslt " << rtf_title << "}}\\par" << endl;
+ t << "{\\field\\fldedit {\\*\\fldinst TITLE \\\\*MERGEFORMAT}{\\fldrslt " << rtf_title << "}}\\par" << endl;
else
{
DocText *root = validatingParseText(projectName);