mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
* 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:
parent
6f495e959e
commit
7e3ebd9864
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user