X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathStream.cpp;h=cf3fb51f1f0ba484be79ef9dc7567570b20c3afd;hb=02e82157ec583c3900e359de86be79fac6512387;hp=16a7a173e76d6fcba42eb336cc5b1ac55329c573;hpb=261e7ae9ce7e6a1ffc4932ff9c33107588a9a4ac;p=lyx.git diff --git a/src/mathed/MathStream.cpp b/src/mathed/MathStream.cpp index 16a7a173e7..cf3fb51f1f 100644 --- a/src/mathed/MathStream.cpp +++ b/src/mathed/MathStream.cpp @@ -128,10 +128,10 @@ WriteStream & operator<<(WriteStream & ws, docstring const & s) WriteStream::WriteStream(otexrowstream & os, bool fragile, bool latex, OutputType output, Encoding const * encoding) : os_(os), fragile_(fragile), firstitem_(false), latex_(latex), - output_(output), pendingspace_(false), pendingbrace_(false), - textmode_(false), locked_(0), ascii_(0), canbreakline_(true), - mathsout_(false), line_(0), encoding_(encoding), - row_entry_(make_unique(TexRow::row_none)) + output_(output), insidemacro_(false), pendingspace_(false), + pendingbrace_(false), textmode_(false), locked_(0), ascii_(0), + canbreakline_(true), mathsout_(false), ulemcmd_(NONE), line_(0), + encoding_(encoding), row_entry_(TexRow::row_none) {} @@ -180,17 +180,17 @@ void WriteStream::asciiOnly(bool ascii) } -Changer WriteStream::changeRowEntry(RowEntry entry) +Changer WriteStream::changeRowEntry(TexRow::RowEntry entry) { - return make_change(*row_entry_, entry); + return make_change(row_entry_, entry); } bool WriteStream::startOuterRow() { - if (TexRow::isNone(*row_entry_)) + if (TexRow::isNone(row_entry_)) return false; - return texrow().start(*row_entry_); + return texrow().start(row_entry_); }