]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.C
* remove various xforms relicts, in particular:
[lyx.git] / src / MenuBackend.C
index 13c2e18f791126e38bf60e85dee0484682b549f9..aeb5162691fce7df53c093dc7a1673d66c1b0bbf 100644 (file)
@@ -515,10 +515,12 @@ void expandFormats(MenuItem::Kind kind, Menu & tomenu, LyXView const * view)
                        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())