]> git.lyx.org Git - features.git/commitdiff
* InsetMathNest::cell(): inlined because of profile.
authorAbdelrazak Younes <younes@lyx.org>
Sat, 21 Apr 2007 22:28:21 +0000 (22:28 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 21 Apr 2007 22:28:21 +0000 (22:28 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17895 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathNest.C
src/mathed/InsetMathNest.h

index 8701fad0c9b43201758d76492b3600a59ab4f2be..b42a55c840641aad6752960950e5e359f7a9e6e7 100644 (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
index 604b3b41e5beb0abbf69bfca3c94a8805d60e41b..224cb5dd03005d83788aef83945c23f9f8e45980 100644 (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;