MathArray::~MathArray()
{
for (int pos = 0; pos < size(); next(pos))
- if (MathIsInset(pos))
+ if (isInset(pos))
delete nextInset(pos);
}
{
if (pos >= size())
return false;
- return MathIsInset(bf_[pos]);
+ return MathIsInset(static_cast<MathTextCodes>(bf_[pos]));
}