summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-08-26 11:53:48 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-08-26 11:53:48 (GMT)
commita2ea725e1b0070ee8bcf55683157e67f5f727254 (patch)
treeb0937b7106fafdf812c4faa9d5bf600279dc0afa /src/rtfgen.cpp
parenta77fed0a607887a9ea023791b13e227a44eb82fc (diff)
downloadDoxygen-a2ea725e1b0070ee8bcf55683157e67f5f727254.zip
Doxygen-a2ea725e1b0070ee8bcf55683157e67f5f727254.tar.gz
Doxygen-a2ea725e1b0070ee8bcf55683157e67f5f727254.tar.bz2
Renamed (start/end)SimpleSect to (start/end)Examples.
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 4dd4c10..e2de5ab 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -2727,21 +2727,14 @@ void RTFGenerator::endMemberGroup(bool hasHeader)
t << "}";
}
-void RTFGenerator::startSimpleSect(SectionTypes,const char *file,const char *anchor,const char *title)
+void RTFGenerator::startExamples()
{
- DBG_RTF(t << "{\\comment (startSimpleSect)}" << endl)
+ DBG_RTF(t << "{\\comment (startExamples)}" << endl)
t << "{"; // ends at endDescList
t << "{"; // ends at endDescTitle
startBold();
newParagraph();
- if (file)
- {
- writeObjectLink(0,file,anchor,title);
- }
- else
- {
- docify(title);
- }
+ docify(theTranslator->trExamples());
endBold();
t << "}";
newParagraph();
@@ -2749,9 +2742,9 @@ void RTFGenerator::startSimpleSect(SectionTypes,const char *file,const char *anc
t << rtf_Style_Reset << rtf_DList_DepthStyle();
}
-void RTFGenerator::endSimpleSect(SectionTypes)
+void RTFGenerator::endExamples()
{
- DBG_RTF(t << "{\\comment (endSimpleSect)}" << endl)
+ DBG_RTF(t << "{\\comment (endExamples)}" << endl)
m_omitParagraph = FALSE;
newParagraph();
decrementIndentLevel();