]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_dotsinset.C
Add string << operators for the other streams as well, and removes
[lyx.git] / src / mathed / math_dotsinset.C
index 70e8de37b84461572fb2635c48aec8adb9236952..2615aed1df585f187a82160e35373763ad2c5006 100644 (file)
@@ -1,9 +1,12 @@
+#include <config.h>
+
 #ifdef __GNUG__
 #pragma implementation
 #endif
 
 #include "math_dotsinset.h"
 #include "math_mathmlstream.h"
+#include "math_streamstr.h"
 #include "math_support.h"
 
 
@@ -44,11 +47,11 @@ void MathDotsInset::metrics(MathMetricsInfo const & mi) const
 
 void MathDotsInset::write(WriteStream & os) const
 {
-       os << '\\' << name_.c_str() << ' ';
+       os << '\\' << name_ << ' ';
 }
 
 
 void MathDotsInset::normalize(NormalStream & os) const
 {
-       os << "[" << name_.c_str() << "] ";
+       os << "[" << name_ << "] ";
 }