From: Georg Baum Date: Sun, 20 Sep 2015 18:47:33 +0000 (+0200) Subject: Fix missing xhtml output found by cppcheck X-Git-Tag: 2.2.0alpha1~302 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=aab1b145a57c;p=features.git Fix missing xhtml output found by cppcheck Actually I don't know if this operator is used at all, but if it exists then it must output something. --- diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index 959262d9cd..9463573d00 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -495,7 +495,7 @@ XHTMLStream & XHTMLStream::operator<<(char_type c) XHTMLStream & XHTMLStream::operator<<(char c) { clearTagDeque(); - string const d = html::escapeChar(c, escape_); + os_ << html::escapeChar(c, escape_); escape_ = ESCAPE_ALL; return *this; }