From 7e3ebd9864b81b050dc56a212fde9b699716ebbb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 22 Jul 2008 14:31:16 +0000 Subject: [PATCH] * src/insets/InsetTabular.h: - 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 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index 60664a49ff..5cf3d7eb3d 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -639,17 +639,9 @@ public: /// 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; /// - virtual bool neverIndent() { return true; } - /// void toggleFixedWidth(bool fw) { isFixedWidth = fw; } private: /// unimplemented @@ -681,6 +673,14 @@ private: // --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; }; -- 2.39.2