]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnknown.cpp
Fix drawing of empty boxes
[lyx.git] / src / mathed / InsetMathUnknown.cpp
index 29dae2b971ee27f588f4be2a6a18b713448923e5..926e7dd5d5ced43f457f79a3585bf8d0c866eae9 100644 (file)
 #include <config.h>
 
 #include "InsetMathUnknown.h"
+
 #include "MathSupport.h"
 #include "MathAtom.h"
 #include "MathStream.h"
-#include "MathStream.h"
+
+#include "MetricsInfo.h"
 
 #include "frontends/Painter.h"
 
@@ -23,7 +25,8 @@ namespace lyx {
 
 InsetMathUnknown::InsetMathUnknown(docstring const & nm,
        docstring const & selection, bool final, bool black)
-       : name_(nm), final_(final), black_(black), selection_(selection)
+       : name_(nm), final_(final), black_(black), kerning_(0),
+         selection_(selection)
 {}