]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_decorationinset.C
fix macro, small cleanup
[features.git] / src / mathed / math_decorationinset.C
index 45bea19ae6331d70e32d966d786b7c08ca86bcf9..b4f1a0673a749b79a1f5cfaa10a54489507607f1 100644 (file)
@@ -1,5 +1,9 @@
 #include <config.h>
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include "math_decorationinset.h"
 #include "math_iter.h"
 #include "mathed/support.h"
@@ -39,8 +43,8 @@ MathDecorationInset::draw(Painter & pain, int x, int y)
 void
 MathDecorationInset::Metrics()
 {
-       int h = 2 * mathed_char_height(LM_TC_VAR, size(), 'I',
-                                      ascent, descent);  
+       int const h = 2 * mathed_char_height(LM_TC_VAR, size(), 'I',
+                                            ascent, descent);  
        MathParInset::Metrics();
        int w = Width() + 4;
        if (w < 16) w = 16;