From 6184c70c515941212380006a2e6c879e1663daec Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 30 Sep 2015 18:19:33 +0200 Subject: [PATCH] Bug 755783 - RTF output has incomplete "References" and "Referenced by" sections Test for rtfSourceCode was incorrect (see also latexSourceCode) resulting in no output or double output depending on the settig of RTF_SOURCE_CODE --- src/definition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definition.cpp b/src/definition.cpp index 649cea8097d..d04dd59802d 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -1219,7 +1219,7 @@ void Definition::_writeSourceRefList(OutputList &ol,const char *scopeName, { ol.disable(OutputGenerator::Latex); } - if (!rtfSourceCode) + if (rtfSourceCode) { ol.disable(OutputGenerator::RTF); }