]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_inset.C
STRCONV
[features.git] / src / mathed / math_inset.C
index 2a6445205d9af42fd8ba2f99c45451c4e2059f3c..48f644d71a13f4ec02b7f903a0ddcc08523cda80 100644 (file)
@@ -18,7 +18,7 @@
 #include <config.h>
 
 #ifdef __GNUG__
-#pragma implementation 
+#pragma implementation
 #endif
 
 #include "math_inset.h"
@@ -264,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;
 }
@@ -288,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());
 }