From: Richard Heck Date: Sun, 26 Oct 2008 16:05:19 +0000 (+0000) Subject: Revert r27129. We can't get rid of these until we have something else positive to do. X-Git-Tag: 1.6.10~2828 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6b0e3499806fec531ad70d704c1dd381bdb28f4f;p=features.git Revert r27129. We can't get rid of these until we have something else positive to do. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27138 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index d6b0bef0d8..84eb4e319b 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -85,6 +85,7 @@ InsetCollapsable::InsetCollapsable(Buffer const & buf) setAutoBreakRows(true); setDrawFrame(true); setFrameColor(Color_collapsableframe); + paragraphs().back().setLayout(dc.plainLayout()); } diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index 45bd7be1a7..db179fdcf5 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -105,6 +105,7 @@ void InsetText::initParagraphs() paragraphs().push_back(Paragraph()); Paragraph & ourpar = paragraphs().back(); ourpar.setInsetOwner(this); + ourpar.setPlainOrDefaultLayout(buffer_->params().documentClass()); }