]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetEnvironment.cpp
Use home made code for the bool facet.
[lyx.git] / src / insets / InsetEnvironment.cpp
index e7973d0bb76473266eda252738fac0b1e74d8336..f665e86b342a2676c35a3713724c000ddf60b1d3 100644 (file)
@@ -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);