]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathStream.cpp
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / MathStream.cpp
index b34fbab23589050a40afe8cacbb14eef80f414ee..356eacccf325015f7e4b22c5f0a0378b3742a370 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -107,17 +107,18 @@ WriteStream & operator<<(WriteStream & ws, docstring const & s)
 }
 
 
-WriteStream::WriteStream(odocstream & os, bool fragile, bool latex, bool dryrun)
+WriteStream::WriteStream(odocstream & os, bool fragile, bool latex, bool dryrun,
+                       Encoding const * encoding)
        : os_(os), fragile_(fragile), firstitem_(false), latex_(latex),
          dryrun_(dryrun), pendingspace_(false), pendingbrace_(false),
-         textmode_(false), line_(0)
+         textmode_(false), line_(0), encoding_(encoding)
 {}
 
 
 WriteStream::WriteStream(odocstream & os)
        : os_(os), fragile_(false), firstitem_(false), latex_(false),
          dryrun_(false), pendingspace_(false), pendingbrace_(false),
-         textmode_(false), line_(0)
+         textmode_(false), line_(0), encoding_(0)
 {}