summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
authorArtur Kink <artur.kinK@gmail.com>2016-09-26 02:38:57 (GMT)
committerArtur Kink <artur.kinK@gmail.com>2016-09-26 02:38:57 (GMT)
commit051fb8a536e1d52aa0a0422186975852dd139c06 (patch)
tree525395efdffa5f7e09b278940f1cc8c3ff31415f /src/pagedef.cpp
parent98d3f8e7d581c589e7bd1a7faf98fc6736847cf1 (diff)
downloadDoxygen-051fb8a536e1d52aa0a0422186975852dd139c06.zip
Doxygen-051fb8a536e1d52aa0a0422186975852dd139c06.tar.gz
Doxygen-051fb8a536e1d52aa0a0422186975852dd139c06.tar.bz2
Fixup man only output to use generator state push pop
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index ab64a88..1210305 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -232,16 +232,17 @@ void PageDef::writePageDocumentation(OutputList &ol)
QCString docStr = documentation()+inbodyDocumentation();
if (!docStr.isEmpty())
{
+ ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Man);
ol.writeString(" - ");
- ol.enableAll();
+ ol.popGeneratorState();
}
ol.generateDoc(
docFile(), // fileName
docLine(), // startLine
this, // context
0, // memberdef
- docStr, // docStr
+ docStr, // docStr
TRUE, // index words
FALSE // not an example
);