]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_funcliminset.C
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_funcliminset.C
index 79760d029ea09f7b9446c7e31586a5377a528094..5221bbab36827438ece0a342fea8d84d2705d8ab 100644 (file)
@@ -1,5 +1,8 @@
+#include <config.h>
+
 #include "math_funcliminset.h"
 #include "math_mathmlstream.h"
+#include "math_streamstr.h"
 #include "math_support.h"
 
 
@@ -22,13 +25,13 @@ bool MathFuncLimInset::isScriptable() const
 
 void MathFuncLimInset::write(WriteStream & os) const
 {
-       os << '\\' << name_.c_str() << ' ';
+       os << '\\' << name_ << ' ';
 }
 
 
 void MathFuncLimInset::normalize(NormalStream & os) const
 {
-       os << "[funclim " << name_.c_str() << ']';
+       os << "[funclim " << name_ << ']';
 }