* InsetMathNest::cell(): inlined because of profile.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17895 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-04-21 22:28:21 +00:00
parent db36eae4c0
commit c9dffa27a2
2 changed files with 6 additions and 16 deletions

View File

@ -86,18 +86,6 @@ InsetMath::idx_type InsetMathNest::nargs() const
}
MathArray & InsetMathNest::cell(idx_type i)
{
return cells_[i];
}
MathArray const & InsetMathNest::cell(idx_type i) const
{
return cells_[i];
}
void InsetMathNest::cursorPos(BufferView const & bv,
CursorSlice const & sl, bool /*boundary*/,
int & x, int & y) const

View File

@ -74,10 +74,12 @@ public:
/// get notification when the cursor leaves this inset
bool notifyCursorLeaves(LCursor & cur);
/// direct access to the cell
MathArray & cell(idx_type);
/// direct access to the cell
MathArray const & cell(idx_type) const;
/// direct access to the cell.
/// inlined because shows in profile.
//@{
MathArray & cell(idx_type i) { return cells_[i]; }
MathArray const & cell(idx_type i) const { return cells_[i]; }
//@}
/// can we move into this cell (see macroarg.h)
bool isActive() const;