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
This commit is contained in:
Richard Heck 2008-10-26 16:05:19 +00:00
parent 4b6600df4a
commit 6b0e349980
2 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,7 @@ InsetCollapsable::InsetCollapsable(Buffer const & buf)
setAutoBreakRows(true);
setDrawFrame(true);
setFrameColor(Color_collapsableframe);
paragraphs().back().setLayout(dc.plainLayout());
}

View File

@ -105,6 +105,7 @@ void InsetText::initParagraphs()
paragraphs().push_back(Paragraph());
Paragraph & ourpar = paragraphs().back();
ourpar.setInsetOwner(this);
ourpar.setPlainOrDefaultLayout(buffer_->params().documentClass());
}