From a9f1c59479e316ab277521faa2a629f25fde25ba Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 31 Aug 2018 13:08:06 +0200 Subject: Missing opening round bracket in case of an exception In case of RTF / LaTeX the opening round bracket was missing after the word "throw" (see e.g. in the manual the `\fn` example the detailed function description) --- src/latexgen.cpp | 2 +- src/rtfgen.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 204683e..13a88a9 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -2159,7 +2159,7 @@ void LatexGenerator::endParameterName(bool last,bool /*emptyList*/,bool closeBra void LatexGenerator::exceptionEntry(const char* prefix,bool closeBracket) { if (prefix) - t << " " << prefix; + t << " " << prefix << "("; else if (closeBracket) t << ")"; t << " "; diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index e2de5ab..8a5b3c8 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -2795,7 +2795,7 @@ void RTFGenerator::exceptionEntry(const char* prefix,bool closeBracket) { DBG_RTF(t << "{\\comment (exceptionEntry)}" << endl) if (prefix) - t << " " << prefix; + t << " " << prefix << "("; else if (closeBracket) t << ")"; t << " "; -- cgit v0.12