]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.cpp
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetBox.cpp
index 01a343149173b5bd7adc687a55ab0876393ead3e..09d7a49797d772b6b57785e9f5b1d98c7a27d25c 100644 (file)
@@ -97,7 +97,7 @@ InsetBox::InsetBox(Buffer const & buffer, string const & label)
        : InsetCollapsable(buffer), params_(label)
 {
        if (forcePlainLayout())
-               paragraphs().back().setLayout(buffer.params().documentClass().emptyLayout());
+               paragraphs().back().setLayout(buffer.params().documentClass().plainLayout());
 }