From 19372cb0523d0b2a6ab02dd77cdff2b6cca8bdb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 5 Oct 2008 10:22:53 +0000 Subject: [PATCH] * InsetBox.h (allowParagraphCustomization): - fix logic, constify. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26741 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetBox.h b/src/insets/InsetBox.h index cf86e13d41..3648fd6eb9 100644 --- a/src/insets/InsetBox.h +++ b/src/insets/InsetBox.h @@ -105,7 +105,7 @@ private: /// DisplayType display() const { return Inline; } /// - bool allowParagraphCustomization(idx_type = 0) { return forcePlainLayout(); } + bool allowParagraphCustomization(idx_type = 0) const { return !forcePlainLayout(); } /// bool forcePlainLayout(idx_type = 0) const; /// -- 2.39.5