]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_inset.C
Fix.
[lyx.git] / src / mathed / math_inset.C
index 2a6445205d9af42fd8ba2f99c45451c4e2059f3c..47a1c3d82c6b52f15ec7250d2c7618498c3e662f 100644 (file)
@@ -17,9 +17,6 @@
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation 
-#endif
 
 #include "math_inset.h"
 #include "Lsstream.h"
@@ -210,28 +207,28 @@ void MathInset::normalize(NormalStream & os) const
 }
 
 
-void MathInset::octavize(OctaveStream & os) const
+void MathInset::octave(OctaveStream & os) const
 {
        NormalStream ns(os.os());
        normalize(ns);
 }
 
 
-void MathInset::maplize(MapleStream & os) const
+void MathInset::maple(MapleStream & os) const
 {
        NormalStream ns(os.os());
        normalize(ns);
 }
 
 
-void MathInset::maximize(MaximaStream & os) const
+void MathInset::maxima(MaximaStream & os) const
 {
        MapleStream ns(os.os());
-       maplize(ns);
+       maple(ns);
 }
 
 
-void MathInset::mathematicize(MathematicaStream & os) const
+void MathInset::mathematica(MathematicaStream & os) const
 {
        NormalStream ns(os.os());
        normalize(ns);
@@ -264,7 +261,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;
 }
@@ -288,7 +285,7 @@ string asString(MathArray const & ar)
        std::ostringstream os;
        WriteStream ws(os);
        ws << ar;
-       return os.str().c_str();
+       return STRCONV(os.str());
 }