]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_cursor.C
remove public method;
[features.git] / src / mathed / math_cursor.C
index a9ae33e68bedf4bc55310b36f326ccd5bd63b536..ef4472dda5168e901294819a9d193fec6772520b 100644 (file)
@@ -174,11 +174,6 @@ bool MathCursor::popRight()
 }
 
 
-MathInset * MathCursor::parInset(int i) const
-{
-       return Cursor_[i].par_;
-}
-
 
 #if FILEDEBUG
 void MathCursor::dump(char const *) const
@@ -221,7 +216,7 @@ void MathCursor::dump(char const *) const {}
 bool MathCursor::isInside(MathInset const * p) const
 {
        for (unsigned i = 0; i < Cursor_.size(); ++i) 
-               if (parInset(i) == p) 
+               if (Cursor_[i].par_ == p) 
                        return true;
        return false;
 }