These should not raise the impression that children should reimplement these functions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34361 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-05-03 22:18:00 +00:00
parent cea7948698
commit c9e4d6657d
2 changed files with 4 additions and 4 deletions

View File

@ -61,9 +61,9 @@ public:
/// update label and references.
virtual void updateCommand(docstring const &, bool) {}
///
virtual InsetCommand * asInsetCommand() { return this; }
InsetCommand * asInsetCommand() { return this; }
///
virtual InsetCommand const * asInsetCommand() const { return this; }
InsetCommand const * asInsetCommand() const { return this; }
/// whether to include this inset in the strings generated for the TOC
virtual bool isInToc() const { return false; }

View File

@ -867,9 +867,9 @@ public:
virtual bool usePlainLayout() const { return true; }
///
virtual InsetTabular * asInsetTabular() { return this; }
InsetTabular * asInsetTabular() { return this; }
///
virtual InsetTabular const * asInsetTabular() const { return this; }
InsetTabular const * asInsetTabular() const { return this; }
///
bool isRightToLeft(Cursor & cur) const;
/// writes the cells between stidx and enidx as a string, optionally