]> 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 2645974fb98f8e6ba5b63d002a1a3f5b725a568e..09d7a49797d772b6b57785e9f5b1d98c7a27d25c 100644 (file)
@@ -96,8 +96,8 @@ BoxTranslatorLoc const & boxtranslator_loc()
 InsetBox::InsetBox(Buffer const & buffer, string const & label)
        : InsetCollapsable(buffer), params_(label)
 {
-       if (forceEmptyLayout())
-               paragraphs().back().setLayout(buffer.params().documentClass().emptyLayout());
+       if (forcePlainLayout())
+               paragraphs().back().setLayout(buffer.params().documentClass().plainLayout());
 }
 
 
@@ -176,7 +176,7 @@ void InsetBox::metrics(MetricsInfo & m, Dimension & dim) const
 }
 
 
-bool InsetBox::forceEmptyLayout(idx_type) const
+bool InsetBox::forcePlainLayout(idx_type) const
 {
        return !params_.inner_box && params_.type != "Framed";
 }