* Inset::editing should be const

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22258 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2007-12-22 14:38:43 +00:00
parent b79bd1fa65
commit e32c8c5bad
2 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ void Inset::drawMarkers2(PainterInfo & pi, int x, int y) const
} }
bool Inset::editing(BufferView * bv) const bool Inset::editing(BufferView const * bv) const
{ {
return bv->cursor().isInside(this); return bv->cursor().isInside(this);
} }

View File

@ -131,7 +131,7 @@ public:
/// draw inset selection if necessary /// draw inset selection if necessary
virtual void drawSelection(PainterInfo &, int, int) const {} virtual void drawSelection(PainterInfo &, int, int) const {}
/// ///
virtual bool editing(BufferView * bv) const; virtual bool editing(BufferView const * bv) const;
/// ///
virtual bool showInsetDialog(BufferView *) const { return false; } virtual bool showInsetDialog(BufferView *) const { return false; }