There is no good reason to disallow nesting of bibliography

This commit is contained in:
Juergen Spitzmueller 2012-12-22 12:07:29 +01:00
parent b0aa0db10a
commit a8b81312b3

View File

@ -207,8 +207,6 @@ void Text::setLayout(Cursor & cur, docstring const & layout)
static bool changeDepthAllowed(Text::DEPTH_CHANGE type,
Paragraph const & par, int max_depth)
{
if (par.layout().labeltype == LABEL_BIBLIO)
return false;
int const depth = par.params().depth();
if (type == Text::INC_DEPTH && depth < max_depth)
return true;