* math_fracbase.C: change parameter types to match MathInset
+2001-10-01 André Pönitz <poenitz@gmx.net>
+
+ * math_cursor.[Ch]: remove local parInset() method
+
+ * math_macro.C: add a static_cast
+
2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* math_cursor.C: fix type mismatches with what was declared in
}
-MathInset * MathCursor::parInset(int i) const
-{
- return Cursor_[i].par_;
-}
-
#if FILEDEBUG
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;
}
///
pos_type last() const;
///
- MathInset * parInset(int i) const;
- ///
MathMatrixInset * outerPar() const;
///
void seldump(char const * str) const;
h += std::max(c.ascent(), lasc) + 5;
c.draw(pain, x + lwid, h);
char str[] = "#1:";
- str[1] += i;
+ str[1] += static_cast<char>(i);
drawStr(pain, LM_TC_TEX, size(), x + 3, h, str);
h += std::max(c.descent(), ldes) + 5;
}