diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-01-08 09:43:43 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-01-08 09:43:43 (GMT) |
commit | 3cee30e9458ed2735e7b2e3524c45e0172c18249 (patch) | |
tree | 8a3f4ba78cf25b1a7f09d23c197f3ade03bc839c | |
parent | 7f30d0afbeb9565bced1439f86ce9f862de5282e (diff) | |
parent | 2d47546de9341dd481b199fae6125fdbb2a37d53 (diff) | |
download | Doxygen-3cee30e9458ed2735e7b2e3524c45e0172c18249.zip Doxygen-3cee30e9458ed2735e7b2e3524c45e0172c18249.tar.gz Doxygen-3cee30e9458ed2735e7b2e3524c45e0172c18249.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
-rw-r--r-- | src/latexgen.cpp | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 93eed7e..5e824ea 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -607,10 +607,16 @@ void LatexGenerator::startIndexSection(IndexSections is) else { QCString header = fileToString(latexHeader); - t << substituteKeywords(header,0, - Config_getString("PROJECT_NAME"), - Config_getString("PROJECT_NUMBER"), - Config_getString("PROJECT_BRIEF")); + QGString genStringName; + FTextStream tgName(&genStringName); + filterLatexString(tgName, Config_getString("PROJECT_NAME"), FALSE,FALSE,FALSE); + QGString genStringNumber; + FTextStream tgNumber(&genStringNumber); + filterLatexString(tgNumber, Config_getString("PROJECT_NUMBER"), FALSE,FALSE,FALSE); + QGString genStringBrief; + FTextStream tgBrief(&genStringBrief); + filterLatexString(tgBrief, Config_getString("PROJECT_BRIEF"), FALSE,FALSE,FALSE); + t << substituteKeywords(header,0, genStringName, genStringNumber, genStringBrief); } } break; @@ -1005,10 +1011,16 @@ void LatexGenerator::endIndexSection(IndexSections is) else { QCString footer = fileToString(latexFooter); - t << substituteKeywords(footer,0, - Config_getString("PROJECT_NAME"), - Config_getString("PROJECT_NUMBER"), - Config_getString("PROJECT_BRIEF")); + QGString genStringName; + FTextStream tgName(&genStringName); + filterLatexString(tgName, Config_getString("PROJECT_NAME"), FALSE,FALSE,FALSE); + QGString genStringNumber; + FTextStream tgNumber(&genStringNumber); + filterLatexString(tgNumber, Config_getString("PROJECT_NUMBER"), FALSE,FALSE,FALSE); + QGString genStringBrief; + FTextStream tgBrief(&genStringBrief); + filterLatexString(tgBrief, Config_getString("PROJECT_BRIEF"), FALSE,FALSE,FALSE); + t << substituteKeywords(footer,0, genStringName, genStringNumber, genStringBrief); } break; } |