]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathChar.cpp
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathChar.cpp
index 46083a439eebb75bce0fbaadab1b79a290641add..6caf09aeff28e5eb4aa748fce5358223ec53848e 100644 (file)
@@ -18,6 +18,8 @@
 #include "MetricsInfo.h"
 
 #include "Dimension.h"
+#include "Encoding.h"
+#include "LaTeXFeatures.h"
 #include "TextPainter.h"
 
 #include "frontends/FontMetrics.h"
@@ -135,6 +137,13 @@ void InsetMathChar::write(WriteStream & os) const
 }
 
 
+void InsetMathChar::validate(LaTeXFeatures & features) const
+{
+       if (char_ >= 0x80)
+               encodings.validate(char_, features, true);
+}
+
+
 void InsetMathChar::normalize(NormalStream & os) const
 {
        os << "[char ";