"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes:

|  UpdatableInset * InsetCollapsable::getLockingInset() const
|  {
| -     UpdatableInset * in = inset.getLockingInset();
| +     InsetText * in = (InsetText *) inset.getLockingInset();
|       if (&inset == in)
|               return const_cast<InsetCollapsable *>(this);
|       return in;

We do not use C-style casts. Use C++ casts.

static_cast<InsetText *>(...)

-- 
        Lgb

Reply via email to