]> git.lyx.org Git - lyx.git/commitdiff
* InsetBox.h (allowParagraphCustomization):
authorJürgen Spitzmüller <spitz@lyx.org>
Sun, 5 Oct 2008 10:22:53 +0000 (10:22 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sun, 5 Oct 2008 10:22:53 +0000 (10:22 +0000)
- fix logic, constify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26741 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBox.h

index cf86e13d41a9550cb70d8e4152e697d62578847f..3648fd6eb969372e6f49b97ffbe19258db449ba6 100644 (file)
@@ -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;
        ///