]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_inset.C
small up/down tweaking
[lyx.git] / src / mathed / math_inset.C
index 62cc723c085cb583b58e311d85d8ef78fa803ec0..48f644d71a13f4ec02b7f903a0ddcc08523cda80 100644 (file)
@@ -18,7 +18,7 @@
 #include <config.h>
 
 #ifdef __GNUG__
-#pragma implementation 
+#pragma implementation
 #endif
 
 #include "math_inset.h"
@@ -224,6 +224,13 @@ void MathInset::maplize(MapleStream & os) const
 }
 
 
+void MathInset::maximize(MaximaStream & os) const
+{
+       MapleStream ns(os.os());
+       maplize(ns);
+}
+
+
 void MathInset::mathematicize(MathematicaStream & os) const
 {
        NormalStream ns(os.os());
@@ -257,7 +264,7 @@ int MathInset::docbook(std::ostream &, bool) const
 
 
 MathInset::result_type
-       MathInset::dispatch(FuncRequest const &, idx_type &, pos_type &) 
+       MathInset::dispatch(FuncRequest const &, idx_type &, pos_type &)
 {
        return UNDISPATCHED;
 }
@@ -281,7 +288,7 @@ string asString(MathArray const & ar)
        std::ostringstream os;
        WriteStream ws(os);
        ws << ar;
-       return os.str().c_str();
+       return STRCONV(os.str());
 }