Fix for the deleteLyXText const problem.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@877 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2000-07-11 15:17:17 +00:00
parent f1974cd18a
commit 817231c13d
3 changed files with 3 additions and 3 deletions

View File

@ -435,7 +435,7 @@ LyXText * InsetCollapsable::getLyXText(BufferView * bv) const
} }
void InsetCollapsable::deleteLyXText(BufferView * bv) void InsetCollapsable::deleteLyXText(BufferView * bv) const
{ {
inset->deleteLyXText(bv); inset->deleteLyXText(bv);
} }

View File

@ -120,7 +120,7 @@ public:
int getMaxWidth(Painter & pain, UpdatableInset const *) const; int getMaxWidth(Painter & pain, UpdatableInset const *) const;
/// ///
LyXText * getLyXText(BufferView *) const; LyXText * getLyXText(BufferView *) const;
void deleteLyXText(BufferView *); void deleteLyXText(BufferView *) const;
protected: protected:
/// ///

View File

@ -214,7 +214,7 @@ public:
/// because we could have fake text insets and have to call this /// because we could have fake text insets and have to call this
/// inside them without cast!!! /// inside them without cast!!!
virtual LyXText * getLyXText(BufferView *) const; virtual LyXText * getLyXText(BufferView *) const;
virtual void deleteLyXText(BufferView *) {} virtual void deleteLyXText(BufferView *) const {}
protected: protected:
/// ///