X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTheorem.cpp;h=3dae9df1b2a973049dd1bc8a22ac5d2aea92431c;hb=c3a8b3a566e9e90f9ade72acbc723232d721d0b1;hp=312f60b0ecf0f9e659e9158c0d7ff0ae9ad80b47;hpb=f318fbf36c7289a3a2fc16e59e77a312f64ec980;p=lyx.git diff --git a/src/insets/InsetTheorem.cpp b/src/insets/InsetTheorem.cpp index 312f60b0ec..3dae9df1b2 100644 --- a/src/insets/InsetTheorem.cpp +++ b/src/insets/InsetTheorem.cpp @@ -14,21 +14,18 @@ #include "InsetTheorem.h" #include "insets/InsetText.h" -#include "debug.h" -#include "gettext.h" -#include "Font.h" +#include "support/debug.h" +#include "support/gettext.h" +#include "FontInfo.h" #include "Text.h" #include "MetricsInfo.h" -#include "support/std_ostream.h" +#include +using namespace std; namespace lyx { -using std::endl; -using std::ostream; - - /* The intention is to be able to create arbitrary theorem like environments sing this class and some helper/container classes. It should be possible @@ -40,11 +37,6 @@ Inset.heorem::InsetTheorem() : InsetCollapsable() { setLabel(_("theorem")); - Font font(Font::ALL_SANE); - font.decSize(); - font.decSize(); - font.setColor(Color::collapsable); - setLabelFont(font); #if 0 setAutoCollapse(false); #endif