mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 08:44:01 +00:00
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:
parent
39c7e2faf0
commit
c0d2633b8c
@ -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_);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user