]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontoldinset.h
Fix.
[lyx.git] / src / mathed / math_fontoldinset.h
index 14a42cc58f50ba3ca1216dd0ae6295d284a98916..98f7e52286bc792fe2784c93f1d6defa3f6dd2ac 100644 (file)
@@ -4,12 +4,11 @@
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Old-style font changes
-    \author André Pönitz
+ *  \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 class latexkeys;
@@ -20,6 +19,8 @@ public:
        explicit MathFontOldInset(latexkeys const * key);
        ///
        MathInset * clone() const;
+       /// we are in text mode.
+       mode_type currentMode() const { return TEXT_MODE; }
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///