Fix XHTML output on systems where char_type is not typedef'd to wchar_t.

See docstream.h for the explanation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33027 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-01-14 13:29:13 +00:00
parent 578c0414d3
commit 19c935ca37
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ void InsetMathChar::mathmlize(MathStream & ms) const
if (ms.inText()) {
if (entity.empty())
ms << char_type(char_);
ms.os().put(char_);
else
ms << from_ascii(entity);
return;

View File

@ -306,7 +306,7 @@ MathStream & operator<<(MathStream & ms, char c)
MathStream & operator<<(MathStream & ms, char_type c)
{
ms.os() << c;
ms.os().put(c);
return ms;
}