mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Revert "msvc: Fix compilation of TexRow"
This reverts commit 10d7f6d479
.
This commit is contained in:
parent
1523fc6023
commit
42e5353f8a
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user