mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
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:
parent
f1974cd18a
commit
817231c13d
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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:
|
||||||
///
|
///
|
||||||
|
@ -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:
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user