* 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
This commit is contained in:
Jürgen Spitzmüller 2008-07-22 14:31:16 +00:00
parent 6f495e959e
commit 7e3ebd9864

View 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, bool getStatus(Cursor & cur, FuncRequest const & cmd,
FuncStatus & status) const; FuncStatus & status) const;
/// ///
virtual bool neverIndent() { return true; }
///
void toggleFixedWidth(bool fw) { isFixedWidth = fw; } void toggleFixedWidth(bool fw) { isFixedWidth = fw; }
private: private:
/// unimplemented /// unimplemented
@ -681,6 +673,14 @@ private:
// --rgh // --rgh
/// ///
bool isFixedWidth; 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;
}; };