]> git.lyx.org Git - lyx.git/blob - src/mathed/math_diminset.C
replace a few more naked MathInset * by MathAtom &
[lyx.git] / src / mathed / math_diminset.C
1 #include "math_diminset.h"
2 #include "Lsstream.h"
3 #include "textpainter.h"
4
5
6 void MathDimInset::metricsT(TextMetricsInfo const &) const
7 {
8 #ifndef WITH_WARNINGS
9 #warning temporarily disabled
10 #endif
11 /*
12         std::ostringstream os;
13         os << MathAtom(this);
14         dim_.w = int(os.str().size());
15         dim_.a = 1;
16         dim_.d = 0;
17 */
18 }
19
20
21 void MathDimInset::drawT(TextPainter &, int, int) const
22 {
23 /*
24         std::ostringstream os;
25         os << MathAtom(this);
26         pain.draw(x, y, os.str().c_str());
27 */
28 }