]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.C
fix pullArg when pressing <Delete> at the end of an cell
[lyx.git] / src / mathed / math_deliminset.C
index cb4788e9badf54ac06f9d246262ef27e94b9ccac..1ee6475ddbffc05cd5f6ca88834eb6b6f92d218c 100644 (file)
@@ -1,19 +1,16 @@
-#include <config.h>
-
 #ifdef __GNUG__
 #pragma implementation
 #endif
 
 #include "math_deliminset.h"
 #include "math_parser.h"
-#include "LColor.h"
 #include "Painter.h"
 #include "mathed/support.h"
 #include "support/LOstream.h"
 
 
 MathDelimInset::MathDelimInset(int l, int r)
-       : MathInset("", LM_OT_DELIM, 1), left_(l), right_(r)
+       : MathInset(1), left_(l), right_(r)
 {}
 
 
@@ -89,7 +86,7 @@ int MathDelimInset::dw() const
 }
 
 
-void MathDelimInset::Metrics(MathStyles st)
+void MathDelimInset::Metrics(MathStyles st, int, int)
 {
        xcell(0).Metrics(st);
        size_    = st;