]> git.lyx.org Git - lyx.git/blob - src/mathed/math_streamstr.C
do as Lars says
[lyx.git] / src / mathed / math_streamstr.C
1 #include <config.h>
2 #include <algorithm>
3
4 #include "math_mathmlstream.h"
5 #include "math_streamstr.h"
6
7
8 WriteStream & operator<<(WriteStream & ws, string const & s)
9 {
10         ws.os() << s;
11         ws.line() += std::count(s.begin(), s.end(), '\n');
12         return ws;
13 }