Revert "msvc: Fix compilation of TexRow"

This reverts commit 10d7f6d479.
This commit is contained in:
Vincent van Ravesteijn 2015-10-20 19:19:31 +02:00
parent 1523fc6023
commit 42e5353f8a

View File

@ -463,12 +463,12 @@ std::pair<int,int> TexRow::rowFromCursor(Cursor const & cur) const
///
docstring TexRow::asString(RowEntry const & entry)
{
std::ostringstream t;
odocstringstream os;
if (entry.is_math)
t << "(1," << entry.math.id << "," << entry.math.cell << ")";
os << "(1," << entry.math.id << "," << entry.math.cell << ")";
else
t << "(0," << entry.text.id << "," << entry.text.pos << ")";
return from_utf8( t.str() );
os << "(0," << entry.text.id << "," << entry.text.pos << ")";
return os.str();
}