Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Inset * DocIterator::realInset() const > { > BOOST_ASSERT(inTexted()); > // if we are in a tabular, we need the cell > if (inset().lyxCode() == Inset::TABULAR_CODE) { > InsetTabular & tabular = static_cast<InsetTabular&>(inset()); > return tabular.cell(idx()).get(); > } > return &inset(); > }
No. We _do_not_ introduce new uses of Inset::xxx_CODE. Please. Is this so difficult to explain? JMarc