]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathData.cpp
Only set buffer if it is not null.
[lyx.git] / src / mathed / MathData.cpp
index 39d5f80184303c7f02f5813c7d90296af1d66f8d..50fc100e6436eda63cf4de1a19b23cbee9172969 100644 (file)
@@ -37,7 +37,6 @@
 #include "support/docstream.h"
 #include "support/gettext.h"
 #include "support/lassert.h"
-#include "support/lyxalgo.h"
 
 #include <cstdlib>
 
@@ -47,8 +46,7 @@ namespace lyx {
 
 
 MathData::MathData(Buffer * buf, const_iterator from, const_iterator to)
-       : base_type(from, to), minasc_(0), mindes_(0), slevel_(0),
-         sshift_(0), buffer_(buf)
+       : base_type(from, to), buffer_(buf)
 {}