]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_dotsinset.C
cosmetics
[lyx.git] / src / mathed / math_dotsinset.C
index 20964b3d0a05de367fe930cf64909caec3fc5f33..4466879a5523a4c05b54a6e94f26c2fbe4224380 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)
 {
        size(st);
        mathed_char_dim(LM_TC_VAR, size(), 'M', ascent_, descent_, width_);
@@ -46,13 +44,13 @@ void MathDotsInset::Metrics(MathStyles st)
 } 
 
 
-void MathDotsInset::Write(ostream & os, bool /* fragile */) const
+void MathDotsInset::write(ostream & os, bool /* fragile */) const
 {
        os << '\\' << name() << ' ';
 }
 
 
-void MathDotsInset::WriteNormal(ostream & os) const
+void MathDotsInset::writeNormal(ostream & os) const
 {
        os << "[" << name() << "] ";
 }