]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_casesinset.C
make naming a bit saner...
[lyx.git] / src / mathed / math_casesinset.C
index 09992ed670ed78391e9aaf186f18b313dc6c10b7..5d992788c1a8a0253fa2a37b99e7b22e71425d4f 100644 (file)
@@ -1,8 +1,5 @@
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "math_casesinset.h"
 #include "math_parser.h"
@@ -25,7 +22,7 @@ MathInset * MathCasesInset::clone() const
 void MathCasesInset::metrics(MathMetricsInfo & mi) const
 {
        MathGridInset::metrics(mi);
-       width_ += 8;
+       dim_.w += 8;
 }
 
 
@@ -52,15 +49,15 @@ void MathCasesInset::normalize(NormalStream & os) const
 {
        os << "[cases ";
        MathGridInset::normalize(os);
-       os << "]";
+       os << ']';
 }
 
 
-void MathCasesInset::maplize(MapleStream & os) const
+void MathCasesInset::maple(MapleStream & os) const
 {
        os << "cases(";
-       MathGridInset::maplize(os);
-       os << ")";
+       MathGridInset::maple(os);
+       os << ')';
 }