X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetEnvironment.cpp;h=f665e86b342a2676c35a3713724c000ddf60b1d3;hb=b81c90adeef28a836d9786671849401b747e350b;hp=e7973d0bb76473266eda252738fac0b1e74d8336;hpb=897436efbb9bd641b61467d185a2dfae9839e575;p=lyx.git diff --git a/src/insets/InsetEnvironment.cpp b/src/insets/InsetEnvironment.cpp index e7973d0bb7..f665e86b34 100644 --- a/src/insets/InsetEnvironment.cpp +++ b/src/insets/InsetEnvironment.cpp @@ -14,7 +14,6 @@ #include "BufferParams.h" #include "gettext.h" -#include "Paragraph.h" #include "OutputParams.h" #include "output_latex.h" #include "TexRow.h" @@ -28,8 +27,8 @@ using std::ostream; InsetEnvironment::InsetEnvironment - (BufferParams const & bp, string const & name) - : InsetText(bp), layout_(bp.getTextClass()[name]), name_(from_utf8(name)) + (BufferParams const & bp, docstring const & name) + : InsetText(bp), layout_(bp.getTextClass()[name]), name_(name) { setAutoBreakRows(true); setDrawFrame(true);