]> 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 c278db281c126cc8e354a05e0bc96429b52f1f9a..7054cde4bf2bf0e2a41a090294673a52cbbfd9cf 100644 (file)
@@ -1,5 +1,3 @@
-#include <config.h>
-
 #ifdef __GNUG__
 #pragma implementation
 #endif
@@ -12,11 +10,11 @@ using std::ostream;
 
 
 MathDotsInset::MathDotsInset(string const & name, int id)
-       : MathInset(name, LM_OT_DOTS), code_(id)
+       : MathInset(0, name), code_(id)
 {}
 
 
-MathInset * MathDotsInset::Clone() const
+MathInset * MathDotsInset::clone() const
 {
        return new MathDotsInset(*this);
 }     
@@ -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_);