X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetWrap.cpp;h=9155960c2f4f833f9c42b0712075e8ca3043ca38;hb=06254d11dfdf670fab3548dc2a2674e7a261262c;hp=e35bd702fb3b7f8ebcb7a48c22d1285e74f8c3c8;hpb=5ddc612b735317d5b22553a63aad7879503e3950;p=lyx.git diff --git a/src/insets/InsetWrap.cpp b/src/insets/InsetWrap.cpp index e35bd702fb..9155960c2f 100644 --- a/src/insets/InsetWrap.cpp +++ b/src/insets/InsetWrap.cpp @@ -18,39 +18,31 @@ #include "BufferView.h" #include "Counters.h" #include "Cursor.h" -#include "debug.h" +#include "support/debug.h" #include "DispatchResult.h" #include "Floating.h" #include "FloatList.h" #include "FuncRequest.h" #include "FuncStatus.h" -#include "gettext.h" +#include "support/gettext.h" #include "LaTeXFeatures.h" #include "Lexer.h" #include "OutputParams.h" +#include "TextClass.h" #include "TocBackend.h" #include "support/convert.h" +#include "support/docstream.h" +using namespace std; namespace lyx { -using std::string; -using std::endl; -using std::istringstream; -using std::ostream; -using std::ostringstream; - InsetWrap::InsetWrap(BufferParams const & bp, string const & type) : InsetCollapsable(bp), name_(from_utf8(type)) { setLabel(_("wrap: ") + floatName(type, bp)); - FontInfo font = sane_font; - font.decSize(); - font.decSize(); - font.setColor(Color_collapsable); - setLabelFont(font); params_.type = type; params_.lines = 0; params_.placement = "o";