From 01661a4030c6e09d17743befb949bcd4937dc366 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 8 Apr 2004 15:26:33 +0000 Subject: [PATCH] add (needed) paranoia checks git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8635 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/paragraph.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/paragraph.C b/src/paragraph.C index a1c64793ef..c421f56740 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -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(inInset())->getAutoBreakRows(); + return inInset() && static_cast(inInset())->getAutoBreakRows(); } -- 2.39.2