From 42e5353f8a9fedc5829f25aa06399bc9f1150cc4 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Tue, 20 Oct 2015 19:19:31 +0200 Subject: [PATCH] Revert "msvc: Fix compilation of TexRow" This reverts commit 10d7f6d479b05cf101173a8ab036676482b7c251. --- src/TexRow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/TexRow.cpp b/src/TexRow.cpp index 516aade812..e72af19a78 100644 --- a/src/TexRow.cpp +++ b/src/TexRow.cpp @@ -463,12 +463,12 @@ std::pair 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(); }