Remove checkInsertChar in UpdatableInset as it should not be needed there.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2370 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2001-07-27 13:10:03 +00:00
parent 8c645df02b
commit 8aa0eee33a
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,8 @@
2001-07-27 Juergen Vigna <jug@sad.it> 2001-07-27 Juergen Vigna <jug@sad.it>
* inset.h: remove not used font variable in parameter. * 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 * insetert.C (checkInsertChar): implementation of function
checkInsertChar. checkInsertChar.

View File

@ -447,9 +447,6 @@ public:
virtual bool nodraw() const { virtual bool nodraw() const {
return block_drawing_; 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 // needed for spellchecking text
/// ///