]> 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 f21895f0634515fa75a235363d197b6a04a4ee0a..5d992788c1a8a0253fa2a37b99e7b22e71425d4f 100644 (file)
@@ -1,13 +1,11 @@
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "math_casesinset.h"
 #include "math_parser.h"
 #include "math_mathmlstream.h"
 #include "math_support.h"
+#include "support/LOstream.h"
 
 
 MathCasesInset::MathCasesInset(row_type n)
@@ -24,7 +22,7 @@ MathInset * MathCasesInset::clone() const
 void MathCasesInset::metrics(MathMetricsInfo & mi) const
 {
        MathGridInset::metrics(mi);
-       width_ += 8;
+       dim_.w += 8;
 }
 
 
@@ -51,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 << ')';
 }