]> git.lyx.org Git - lyx.git/commitdiff
* src/insets/InsetTabular.h:
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 22 Jul 2008 14:31:16 +0000 (14:31 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 22 Jul 2008 14:31:16 +0000 (14:31 +0000)
- make neverIndent() non-virtual and const, fixing bug 4641
- also make neverIndent(), usePlainLayout(), forcePlainLayout() and
  allowParagraphCustomization() private.

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

src/insets/InsetTabular.h

index 60664a49ff8fb0ee00010fb3c2c8166b82ea530c..5cf3d7eb3deac7915b087557c3fca708638e2646 100644 (file)
@@ -639,17 +639,9 @@ public:
        ///
        Inset * clone() { return new InsetTableCell(*this); }
        ///
        ///
        Inset * clone() { return new InsetTableCell(*this); }
        ///
-       virtual bool usePlainLayout() const { return true; }
-       /// 
-       virtual bool forcePlainLayout(idx_type = 0) const;
-       /// 
-       virtual bool allowParagraphCustomization(idx_type = 0) const;
-       ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & status) const;
        ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & status) const;
        ///
-       virtual bool neverIndent() { return true; }
-       ///
        void toggleFixedWidth(bool fw) { isFixedWidth = fw; }
 private:
        /// unimplemented
        void toggleFixedWidth(bool fw) { isFixedWidth = fw; }
 private:
        /// unimplemented
@@ -681,6 +673,14 @@ private:
        // --rgh
        ///
        bool isFixedWidth;
        // --rgh
        ///
        bool isFixedWidth;
+       /// should paragraph indendation be omitted in any case?
+       bool neverIndent() const { return true; }
+       ///
+       virtual bool usePlainLayout() const { return true; }
+       /// 
+       virtual bool forcePlainLayout(idx_type = 0) const;
+       /// 
+       virtual bool allowParagraphCustomization(idx_type = 0) const;
 };
 
 
 };