summaryrefslogtreecommitdiff
path: root/unoidl/source/unoidl-check.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl/source/unoidl-check.cxx')
-rw-r--r--unoidl/source/unoidl-check.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/unoidl/source/unoidl-check.cxx b/unoidl/source/unoidl-check.cxx
index ff01d24d493a..6504f0fd333a 100644
--- a/unoidl/source/unoidl-check.cxx
+++ b/unoidl/source/unoidl-check.cxx
@@ -206,9 +206,6 @@ void checkMap(
std::exit(EXIT_FAILURE);
}
switch (entA->getSort()) {
- case unoidl::Entity::SORT_MODULE:
- assert(false && "this cannot happen");
- //deliberate fall-through anyway
case unoidl::Entity::SORT_ENUM_TYPE:
{
rtl::Reference<unoidl::EnumTypeEntity> ent2A(
@@ -886,6 +883,8 @@ void checkMap(
}
break;
}
+ case unoidl::Entity::SORT_MODULE:
+ assert(false && "this cannot happen");
}
}
}