remove fake constness in CursorSlice

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19759 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2007-08-23 20:55:34 +00:00
parent 39c7e2faf0
commit c0d2633b8c
2 changed files with 3 additions and 13 deletions

View File

@ -50,13 +50,7 @@ MathData & CursorSlice::cell() const
}
Paragraph & CursorSlice::paragraph()
{
return text()->getPar(pit_);
}
Paragraph const & CursorSlice::paragraph() const
Paragraph & CursorSlice::paragraph() const
{
return text()->getPar(pit_);
}

View File

@ -103,13 +103,9 @@ public:
/// texted specific stuff
///
/// returns text corresponding to this position
Text * text() { return inset_->getText(idx_); }
/// returns text corresponding to this position
Text const * text() const { return inset_->getText(idx_); }
Text * text() const { return inset_->getText(idx_); }
/// paragraph in this cell
Paragraph & paragraph();
/// paragraph in this cell
Paragraph const & paragraph() const;
Paragraph & paragraph() const;
///
/// mathed specific stuff