]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_dotsinset.C
fix pullArg when pressing <Delete> at the end of an cell
[lyx.git] / src / mathed / math_dotsinset.C
index 20964b3d0a05de367fe930cf64909caec3fc5f33..7054cde4bf2bf0e2a41a090294673a52cbbfd9cf 100644 (file)
@@ -1,5 +1,3 @@
-#include <config.h>
-
 #ifdef __GNUG__
 #pragma implementation
 #endif
@@ -12,7 +10,7 @@ using std::ostream;
 
 
 MathDotsInset::MathDotsInset(string const & name, int id)
-       : MathInset(name, LM_OT_DOTS), code_(id)
+       : MathInset(0, name), code_(id)
 {}
 
 
@@ -33,7 +31,7 @@ void MathDotsInset::draw(Painter & pain, int x, int y)
 }
 
 
-void MathDotsInset::Metrics(MathStyles st)
+void MathDotsInset::Metrics(MathStyles st, int, int)
 {
        size(st);
        mathed_char_dim(LM_TC_VAR, size(), 'M', ascent_, descent_, width_);