break;
case MenuItem::ViewFormats:
case MenuItem::ExportFormats:
+ case MenuItem::UpdateFormats:
if (!(*fit)->documentFormat())
continue;
break;
- case MenuItem::UpdateFormats:
+ default:
+ BOOST_ASSERT(false);
break;
}
if (!(*fit)->shortcut().empty())