]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathStream.cpp
Account for old versions of Pygments
[lyx.git] / src / mathed / MathStream.cpp
index e2b65662de62cd7aa752fed8e9aeb2fc7abd21d8..cf3fb51f1f0ba484be79ef9dc7567570b20c3afd 100644 (file)
@@ -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), ulemcmd_(NONE), line_(0), encoding_(encoding),
-         row_entry_(make_unique<RowEntry>(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_);
 }