Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| Index: src/frontends/qt4/QToc.C
| ===================================================================
| --- src/frontends/qt4/QToc.C (revision 13687)
| +++ src/frontends/qt4/QToc.C (working copy)
| -void QToc::build_dialog()
| +bool QToc::canOutline()
| {
| - dialog_.reset(new QTocDialog(this));
| + vector<string> const & types = getTypes();
| +
| + BOOST_ASSERT(type_ >= 0 && type_ < (int) types.size());
| + return ControlToc::canOutline(types[type_]);
| }
C-style cast. Use static_cast or int(...) instead please.
and a couple of more places.
--
Lgb