From: Jürgen Spitzmüller Date: Sun, 5 Oct 2008 10:22:53 +0000 (+0000) Subject: * InsetBox.h (allowParagraphCustomization): X-Git-Tag: 1.6.10~3173 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=19372cb0523d0b2a6ab02dd77cdff2b6cca8bdb7;p=lyx.git * InsetBox.h (allowParagraphCustomization): - fix logic, constify. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26741 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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; ///