From e6d1759340544112bd89a9c8b161a13cff96d63b Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Mon, 7 Dec 2009 01:28:14 +0000 Subject: [PATCH] CitationUI and InsetMathChar: squeeze warnings output_xhtml: fix whitespace git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32380 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/ui/CitationUi.ui | 1 - src/mathed/InsetMathChar.cpp | 2 +- src/output_xhtml.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt4/ui/CitationUi.ui b/src/frontends/qt4/ui/CitationUi.ui index 12dcc3ca12..d30a029ecd 100644 --- a/src/frontends/qt4/ui/CitationUi.ui +++ b/src/frontends/qt4/ui/CitationUi.ui @@ -504,7 +504,6 @@ infoML styleGB groupBox - availableLV diff --git a/src/mathed/InsetMathChar.cpp b/src/mathed/InsetMathChar.cpp index fe8d43ed28..8e02c6a92c 100644 --- a/src/mathed/InsetMathChar.cpp +++ b/src/mathed/InsetMathChar.cpp @@ -178,7 +178,7 @@ void InsetMathChar::mathmlize(MathStream & ms) const (isalpha(char_) || Encodings::isMathAlpha(char_)) ? "mi" : "mo"; // we don't use MTag and ETag because we do not want the spacing - ms << "<" << type << ">" << char_ << ""; + ms << "<" << type << ">" << char(char_) << ""; } diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index d458c248e5..27f36db5a0 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -310,7 +310,7 @@ XHTMLStream & XHTMLStream::operator<<(CompTag const & tag) } -bool XHTMLStream::isTagOpen(string const & stag) +bool XHTMLStream::isTagOpen(string const & stag) { TagStack::const_iterator sit = tag_stack_.begin(); TagStack::const_iterator const sen = tag_stack_.end(); -- 2.39.5