summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-06-16 19:11:22 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-06-16 19:11:22 (GMT)
commit21178ab40160abf011fa084a10892b5b7821e44c (patch)
tree9ead1d7a97ec1f37cd48ff2ad32906d3bade24f9 /src/filedef.cpp
parent0921dea6f50b31b217cb70a6c1e2327a17591b5f (diff)
downloadDoxygen-21178ab40160abf011fa084a10892b5b7821e44c.zip
Doxygen-21178ab40160abf011fa084a10892b5b7821e44c.tar.gz
Doxygen-21178ab40160abf011fa084a10892b5b7821e44c.tar.bz2
Bug 730520 - No documentation generated for method-less C++ struct
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index 5752e8c..9e8a61c 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -432,7 +432,15 @@ void FileDef::writeClassDeclarations(OutputList &ol,const QCString &title)
void FileDef::writeInlineClasses(OutputList &ol)
{
+ // temporarily undo the disbling could be done by startMemberDocumentation()
+ // as a result of setting SEPARATE_MEMBER_PAGES to YES; see bug730512
+ bool isEnabled = ol.isEnabled(OutputGenerator::Html);
+ ol.enable(OutputGenerator::Html);
+
if (m_classSDict) m_classSDict->writeDocumentation(ol,this);
+
+ // restore the initial state if needed
+ if (!isEnabled) ol.disable(OutputGenerator::Html);
}
void FileDef::startMemberDeclarations(OutputList &ol)