]> git.lyx.org Git - features.git/commitdiff
Remove checkInsertChar in UpdatableInset as it should not be needed there.
authorJürgen Vigna <jug@sad.it>
Fri, 27 Jul 2001 13:10:03 +0000 (13:10 +0000)
committerJürgen Vigna <jug@sad.it>
Fri, 27 Jul 2001 13:10:03 +0000 (13:10 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2370 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/inset.h

index 98a374f31a2a0fc7daec1fb4fb5119a8bd58364d..13fc1ad36fc0368db5eb8c3422b20240229616e7 100644 (file)
@@ -1,6 +1,8 @@
 2001-07-27  Juergen Vigna  <jug@sad.it>
 
        * inset.h: remove not used font variable in parameter.
+       removed checkInsertChar in UpdatableInset as it was equal to
+       the one in Inset and so not needed.
 
        * insetert.C (checkInsertChar): implementation of function
        checkInsertChar.
index 3bb8c202550b1e02ec6cc010e03d739bafb06030..984792a0da8a4ab1f8faedfc165c61bd0517f07e 100644 (file)
@@ -447,9 +447,6 @@ public:
        virtual bool nodraw() const {
                return block_drawing_;
        }
-       /// check if the font of the char we want inserting is correct
-       /// and modify it if it is not.
-       virtual bool checkInsertChar(LyXFont & font) { return true; }
        ///
        // needed for spellchecking text
        ///