summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-11-13 10:24:51 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-11-13 10:24:51 (GMT)
commitd2593e56cd52ecee2424d844916f95e12fef27c8 (patch)
tree9df07ee2b80f5fd92dfe5237397ea7090332d232 /src/filedef.cpp
parent5f01f783e2387a5d44ad70fbff5365aa0e5df938 (diff)
downloadDoxygen-d2593e56cd52ecee2424d844916f95e12fef27c8.zip
Doxygen-d2593e56cd52ecee2424d844916f95e12fef27c8.tar.gz
Doxygen-d2593e56cd52ecee2424d844916f95e12fef27c8.tar.bz2
Bug 774138 - Please add HTML classes to "Definition at..." & "Referenced by..." for CSS
Added class= to html output for "Definition at..." resulting in p.definition in the css file and for "Referenced by .. " and "References ..." resulting in p.definition in css file. (also corrected some error messages).
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index 9c04dc8..3fa896a 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -344,7 +344,7 @@ void FileDef::writeDetailedDescription(OutputList &ol,const QCString &title)
ol.disable(OutputGenerator::RTF);
}
- ol.startParagraph();
+ ol.startParagraph("definition");
QCString refText = theTranslator->trDefinedInSourceFile();
int fileMarkerPos = refText.find("@0");
if (fileMarkerPos!=-1) // should always pass this.
@@ -355,6 +355,10 @@ void FileDef::writeDetailedDescription(OutputList &ol,const QCString &title)
ol.parseText(refText.right(
refText.length()-fileMarkerPos-2)); // text right from marker 2
}
+ else
+ {
+ err("translation error: invalid marker in trDefinedInSourceFile()\n");
+ }
ol.endParagraph();
//Restore settings, bug_738548
ol.popGeneratorState();