mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
add (needed) paranoia checks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8635 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
16da692bfb
commit
01661a4030
@ -715,13 +715,13 @@ InsetBibitem * Paragraph::bibitem() const
|
||||
|
||||
bool Paragraph::forceDefaultParagraphs() const
|
||||
{
|
||||
return inInset()->forceDefaultParagraphs(inInset());
|
||||
return inInset() && inInset()->forceDefaultParagraphs(inInset());
|
||||
}
|
||||
|
||||
|
||||
bool Paragraph::autoBreakRows() const
|
||||
{
|
||||
return static_cast<InsetText *>(inInset())->getAutoBreakRows();
|
||||
return inInset() && static_cast<InsetText *>(inInset())->getAutoBreakRows();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user