]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBox.h
Preserve \inputencoding value when switching to non-TeX fonts.
[lyx.git] / src / mathed / InsetMathBox.h
index 3dfe2286c3a13e49f79ff3cbfa848b247d384f72..af166c19c71b5cf75df874a2d8cb8be522393e05 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "InsetMathNest.h"
 
-#include <string>
-
 
 namespace lyx {
 
@@ -60,6 +58,8 @@ public:
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
+       marker_type marker(BufferView const *) const { return NO_MARKER; }
+       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -118,6 +118,8 @@ public:
        ///
        InsetMathBoxed(Buffer * buf);
        ///
+       marker_type marker(BufferView const *) const { return NO_MARKER; }
+       ///
        void validate(LaTeXFeatures & features) const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;