]> git.lyx.org Git - lyx.git/blobdiff - src/MetricsInfo.h
Further amendment to 72a488d7
[lyx.git] / src / MetricsInfo.h
index 1dbeae249a49725f05576b8533c9e12f744aad94..7534a8e7ca005cfb7c3f2a03777f3bb47996a9aa 100644 (file)
@@ -20,6 +20,8 @@
 #include "support/strfwd.h"
 #include "support/Changer.h"
 
+#include "insets/Inset.h"
+
 
 #include <string>
 
@@ -28,7 +30,6 @@ namespace lyx {
 
 namespace frontend { class Painter; }
 class BufferView;
-class Inset;
 class MacroContext;
 
 
@@ -55,7 +56,7 @@ public:
        /// Temporarily change a full font.
        Changer changeFontSet(std::string const & font);
        /// Temporarily change the font to math if needed.
-       Changer changeEnsureMath();
+       Changer changeEnsureMath(Inset::mode_type mode = Inset::MATH_MODE);
        // Temporarily change to the style suitable for use in fractions
        Changer changeFrac();
        // Temporarily change to the style suitable for use in arrays