]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.cpp
pimpl not needed here
[lyx.git] / src / insets / InsetWrap.cpp
index ac8319a65f38caa678511ac7c81928274d03aa9d..35271bbf1e10a5c97e35f2304288b4d746e2b098 100644 (file)
 #include "FuncStatus.h"
 #include "gettext.h"
 #include "LaTeXFeatures.h"
-#include "Color.h"
 #include "Lexer.h"
 #include "OutputParams.h"
 #include "TocBackend.h"
 
 #include "support/convert.h"
+#include "support/docstream.h"
 
 
 namespace lyx {
@@ -47,11 +47,6 @@ InsetWrap::InsetWrap(BufferParams const & bp, string const & type)
        : InsetCollapsable(bp), name_(from_utf8(type))
 {
        setLabel(_("wrap: ") + floatName(type, bp));
-       Font font(Font::ALL_SANE);
-       font.decSize();
-       font.decSize();
-       font.setColor(Color::collapsable);
-       setLabelFont(font);
        params_.type = type;
        params_.lines = 0;
        params_.placement = "o";