]> git.lyx.org Git - features.git/commitdiff
const fix
authorAbdelrazak Younes <younes@lyx.org>
Thu, 19 Jul 2007 06:21:28 +0000 (06:21 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 19 Jul 2007 06:21:28 +0000 (06:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19129 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ControlTabular.cpp

index 76e3f86abff5c0b497982615b724b4e6a5df057e..4a2bec268a44a251253d88323a2166c9ddc7820e 100644 (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;
                        }