mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
Still trying to fix bug 2178. Will this do it? I do hope so. (Problem reported by Dov.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23756 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f9f0b26bd3
commit
fc1dc6082e
@ -1616,6 +1616,19 @@ void Paragraph::setBeginOfBody()
|
||||
}
|
||||
|
||||
|
||||
bool Paragraph::forceEmptyLayout() const
|
||||
{
|
||||
Inset const * const inset = inInset();
|
||||
return inset && inInset()->forceEmptyLayout();
|
||||
}
|
||||
|
||||
|
||||
bool Paragraph::allowParagraphCustomization() const
|
||||
{
|
||||
return inInset() && inInset()->allowParagraphCustomization(0);
|
||||
}
|
||||
|
||||
|
||||
namespace {
|
||||
// This is a hack based upon one in InsetText::neverIndent().
|
||||
// When we have a real InsetTableCell, then we won't need this
|
||||
@ -1631,23 +1644,9 @@ namespace {
|
||||
}
|
||||
|
||||
|
||||
bool Paragraph::forceEmptyLayout() const
|
||||
{
|
||||
Inset * inset = inInset();
|
||||
return inset &&
|
||||
(inTableCell(inset) || inInset()->forceEmptyLayout());
|
||||
}
|
||||
|
||||
|
||||
bool Paragraph::allowParagraphCustomization() const
|
||||
{
|
||||
return inInset() && inInset()->allowParagraphCustomization(0);
|
||||
}
|
||||
|
||||
|
||||
bool Paragraph::useEmptyLayout() const
|
||||
{
|
||||
Inset * inset = inInset();
|
||||
Inset const * const inset = inInset();
|
||||
return inset &&
|
||||
(inTableCell(inset) || inInset()->useEmptyLayout());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user