]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_support.C
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / mathed / math_support.C
index f1f979a9025a2ac3712ec09d471a9371918e3b9c..bb19362d2062a71c90a9ec77776d5e0287f11602 100644 (file)
@@ -24,9 +24,8 @@
 #include "frontends/font_metrics.h"
 #include "frontends/lyx_gui.h"
 
-#include "support/std_sstream.h"
-
 #include <map>
+#include <sstream>
 
 
 using std::string;
@@ -458,14 +457,6 @@ void mathed_draw_deco(PainterInfo & pi, int x, int y, int w, int h,
                                int(x + xx + 0.5), int(y + yy + 0.5),
                                int(x + x2 + 0.5), int(y + y2 + 0.5),
                                LColor::math);
-
-                       lyxerr << "drew line "
-                              << "xx=" << xx << ", yy=" << yy
-                              << ", x2 = " << x2 << ", y2 = " << y2 << '\n'
-                              << int(x + xx + 0.5) << ", "
-                              << int(y + yy + 0.5) << ", "
-                              << int(x + x2 + 0.5) << ", "
-                              << int(y + y2 + 0.5) << std::endl;
                } else {
                        int xp[32];
                        int yp[32];
@@ -590,7 +581,7 @@ fontinfo fontinfos[] = {
        {"textnormal",    inh_family, inh_series,
                          LyXFont::UP_SHAPE, LColor::foreground},
        {"textrm",        LyXFont::ROMAN_FAMILY,
-                         inh_series,LyXFont::UP_SHAPE,LColor::foreground},
+                         inh_series, LyXFont::UP_SHAPE,LColor::foreground},
        {"textsc",        inh_family, inh_series,
                          LyXFont::SMALLCAPS_SHAPE, LColor::foreground},
        {"textsf",        LyXFont::SANS_FAMILY, inh_series,
@@ -616,9 +607,9 @@ fontinfo fontinfos[] = {
        {"lyxboldsymbol", LyXFont::SYMBOL_FAMILY, LyXFont::BOLD_SERIES,
                          inh_shape, LColor::math},
        {"lyxblacktext",  LyXFont::ROMAN_FAMILY, LyXFont::MEDIUM_SERIES,
-                    LyXFont::UP_SHAPE, LColor::foreground},
+                         LyXFont::UP_SHAPE, LColor::foreground},
        {"lyxnochange",   inh_family, inh_series,
-                    inh_shape, LColor::foreground},
+                         inh_shape, LColor::foreground},
        {"lyxfakebb",     LyXFont::TYPEWRITER_FAMILY, LyXFont::BOLD_SERIES,
                          LyXFont::UP_SHAPE, LColor::math},
        {"lyxfakecal",    LyXFont::SANS_FAMILY, LyXFont::MEDIUM_SERIES,