summaryrefslogtreecommitdiffstats
path: root/src/docbookvisitor.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-02-01 14:03:15 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-02-01 14:03:15 (GMT)
commit3e74470aace3c7a53d02bdfe9590a379c9269b45 (patch)
tree5c5d9c16913e04902a19018f9056a7d2118deb08 /src/docbookvisitor.cpp
parent9778b72f5641d98f98a1851fc93148f9da258a74 (diff)
downloadDoxygen-3e74470aace3c7a53d02bdfe9590a379c9269b45.zip
Doxygen-3e74470aace3c7a53d02bdfe9590a379c9269b45.tar.gz
Doxygen-3e74470aace3c7a53d02bdfe9590a379c9269b45.tar.bz2
Bug 141919 - Wrong param and exception style in RTF output
Some small improvements in the different formats based on the problems signaled with the issue - doxygen.css make exceptions in line with other tables (i.e. the appearance of the name of the exception) - doxygen.sty, rtfdocvisitor.cpp between items in e.g. Precondition, Postcondition, Note place a paragraph distance (like in main text) - docbookvisitor.cpp handle title of Rcs and User sections correctly .
Diffstat (limited to 'src/docbookvisitor.cpp')
-rw-r--r--src/docbookvisitor.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/docbookvisitor.cpp b/src/docbookvisitor.cpp
index 3988390..c36bb00 100644
--- a/src/docbookvisitor.cpp
+++ b/src/docbookvisitor.cpp
@@ -767,15 +767,13 @@ DB_VIS_C
}
break;
case DocSimpleSect::User:
+ case DocSimpleSect::Rcs:
+ case DocSimpleSect::Unknown:
if (s->hasTitle())
m_t << "<formalpara>" << endl;
else
m_t << "<para>" << endl;
break;
- case DocSimpleSect::Rcs:
- case DocSimpleSect::Unknown:
- m_t << "<para>" << endl;
- break;
}
}
@@ -785,11 +783,9 @@ DB_VIS_C
if (m_hide) return;
switch(s->type())
{
+ case DocSimpleSect::User:
case DocSimpleSect::Rcs:
case DocSimpleSect::Unknown:
- m_t << "</para>" << endl;
- break;
- case DocSimpleSect::User:
if (s->hasTitle())
m_t << "</formalpara>" << endl;
else