]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.cpp
Removed unused private variable
[lyx.git] / src / mathed / InsetMathScript.cpp
index fc72b6b078e1052002cd045701c607767e57ac40..8c6416a8c658bd89c08456cc287c3fb80f72409e 100644 (file)
@@ -72,22 +72,6 @@ InsetMathScript * InsetMathScript::asScriptInset()
 }
 
 
-bool InsetMathScript::idxFirst(Cursor & cur) const
-{
-       cur.idx() = 0;
-       cur.pos() = 0;
-       return true;
-}
-
-
-bool InsetMathScript::idxLast(Cursor & cur) const
-{
-       cur.idx() = 0;
-       cur.pos() = nuc().size();
-       return true;
-}
-
-
 MathData const & InsetMathScript::down() const
 {
        if (nargs() == 3)
@@ -632,8 +616,8 @@ void InsetMathScript::mathmlize(MathStream & os) const
                os << "<mrow />";
 
        if (u && d)
-               os << MTag("mrow") << down() << ETag("mrow") 
-                  << MTag("mrow") << up() << ETag("mrow") 
+               os << MTag("mrow") << down() << ETag("mrow")
+                  << MTag("mrow") << up() << ETag("mrow")
                   << ETag(l ? "munderover" : "msubsup");
        else if (u)
                os << MTag("mrow") << up() << ETag("mrow") << ETag(l ? "mover" : "msup");
@@ -781,7 +765,7 @@ bool InsetMathScript::getStatus(Cursor & cur, FuncRequest const & cmd,
                                flag.setOnOff(limits_ == -1);
                        else
                                flag.setOnOff(limits_ == 0);
-               } 
+               }
                flag.setEnabled(true);
                return true;
        }