]> git.lyx.org Git - features.git/commitdiff
remove unneeded inset() member function
authorAndré Pönitz <poenitz@gmx.net>
Wed, 14 Jan 2004 16:20:45 +0000 (16:20 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 14 Jan 2004 16:20:45 +0000 (16:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8345 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_iterator.C
src/mathed/math_iterator.h

index e4e1c657319861ccc11c6748c3543a9c7250be14..180de4602ff5daea747bc8b85a6bdfd8bd45a585 100644 (file)
@@ -27,17 +27,6 @@ MathIterator::MathIterator(MathInset * p)
 }
 
 
-MathInset const * MathIterator::inset() const
-{
-       return back().asMathInset();
-}
-
-
-MathInset * MathIterator::inset()
-{
-       return back().asMathInset();
-}
-
 
 MathArray const & MathIterator::cell() const
 {
index 259e190f601dbc0bc9963a52d25c3ab22b945444..c54c61808d5543585a73fa5d4732bfaedc5f3526 100644 (file)
@@ -50,10 +50,6 @@ public:
        void operator++();
        /// move on several steps
        void jump(difference_type);
-       /// read access to top most inset
-       MathInset const * inset() const;
-       /// read access to top most inset
-       MathInset * inset();
        /// helper for iend
        void goEnd();
        /// read access to top most item