const fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19129 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-07-19 06:21:28 +00:00
parent 6cf6321f82
commit cdb91bc50b

View File

@ -39,7 +39,7 @@ bool ControlTabular::initialiseParams(string const & data)
// assume that it is "ours"
for (int i = cur.depth() - 1; i >= 0; --i)
if (cur[i].inset().lyxCode() == Inset::TABULAR_CODE) {
current_inset = static_cast<InsetTabular *>(&cur[i].inset());
current_inset = static_cast<InsetTabular const *>(&cur[i].inset());
active_cell_ = cur[i].idx();
break;
}