]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathStream.cpp
Fix compilation with gcc 4.6 part II
[features.git] / src / mathed / MathStream.cpp
index e91db433f96c9eb8f4d95a306f76642274ec7553..78838ccd0ab25bb151e9441c4dbb42b87efb9faf 100644 (file)
@@ -124,20 +124,10 @@ WriteStream & operator<<(WriteStream & ws, docstring const & s)
 
 WriteStream::WriteStream(otexrowstream & os, bool fragile, bool latex,
                                                 OutputType output, Encoding const * encoding)
-       : WriteStream(os)
-{
-       fragile_ = fragile;
-       latex_ = latex;
-       output_ = output;
-       encoding_ = encoding;
-}
-
-
-WriteStream::WriteStream(otexrowstream & os)
-       : os_(os), fragile_(false), firstitem_(false), latex_(false),
-         output_(wsDefault), pendingspace_(false), pendingbrace_(false),
+       : os_(os), fragile_(fragile), firstitem_(false), latex_(latex),
+         output_(output), pendingspace_(false), pendingbrace_(false),
          textmode_(false), locked_(0), ascii_(0), canbreakline_(true),
-         line_(0), encoding_(0), row_entry_(TexRow::row_none)
+         line_(0), encoding_(encoding), row_entry_(TexRow::row_none)
 {}