]> 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 ac3469cb17c300a6a52ae55e6c555fc7d1ed655c..5221bbab36827438ece0a342fea8d84d2705d8ab 100644 (file)
@@ -1,6 +1,9 @@
+#include <config.h>
+
 #include "math_funcliminset.h"
 #include "math_mathmlstream.h"
-#include "support.h"
+#include "math_streamstr.h"
+#include "math_support.h"
 
 
 MathFuncLimInset::MathFuncLimInset(string const & name)
@@ -20,15 +23,15 @@ bool MathFuncLimInset::isScriptable() const
 }
 
 
-void MathFuncLimInset::write(MathWriteInfo & os) const
+void MathFuncLimInset::write(WriteStream & os) const
 {
-       os << '\\' << name_.c_str() << ' ';
+       os << '\\' << name_ << ' ';
 }
 
 
-void MathFuncLimInset::writeNormal(NormalStream & os) const
+void MathFuncLimInset::normalize(NormalStream & os) const
 {
-       os << "[funclim " << name_.c_str() << ']';
+       os << "[funclim " << name_ << ']';
 }