]> git.lyx.org Git - features.git/commitdiff
These should not raise the impression that children should reimplement these functions.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 May 2010 22:18:00 +0000 (22:18 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 May 2010 22:18:00 +0000 (22:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34361 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetCommand.h
src/insets/InsetTabular.h

index 77bf4cd664447ade5ccf4bd80fdb00ad8aec5d9c..6297cf723eb5d7d5ea87d1a72b62322629180c5f 100644 (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; }
 
index 7e0bc205a3bd0569b0e2df19e9da7ad45b44a6cb..e0c4326c4e40c8834315e8e16dc5e06710e72901 100644 (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