]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.h
Fix.
[lyx.git] / src / mathed / math_macroarg.h
index b200bcc5045fbf18d510c13b49fc3f7b9d46799e..26f76ed033929e88efdbb545698ddaec863c642d 100644 (file)
@@ -4,12 +4,11 @@
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** A macro argument
-    \author Alejandro Aguilar Sierra
+ *  \author Alejandro Aguilar Sierra
+ *
+ * Full author contact details are available in file CREDITS
 */
 class MathMacroArgument : public MathNestInset {
 public:
@@ -20,9 +19,9 @@ public:
        ///
        bool isActive() const { return false; }
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & st) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(MathPainterInfo &, int x, int y) const;
        ///
        void substitute(MathMacro const & macro);
 
@@ -38,8 +37,6 @@ private:
        char str_[3];
        ///
        bool expanded_;
-       ///
-       mutable MathMetricsInfo mi_;
 };
 
 #endif