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