summaryrefslogtreecommitdiff
path: root/unoidl/source/unoidl-read.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl/source/unoidl-read.cxx')
-rw-r--r--unoidl/source/unoidl-read.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/unoidl-read.cxx b/unoidl/source/unoidl-read.cxx
index 1deb4d75f376..ea995d68fc8c 100644
--- a/unoidl/source/unoidl-read.cxx
+++ b/unoidl/source/unoidl-read.cxx
@@ -248,7 +248,7 @@ void scanMap(
.first);
switch (ent->getSort()) {
case unoidl::Entity::SORT_MODULE:
- assert(false); // this cannot happen
+ assert(false && "this cannot happen");
case unoidl::Entity::SORT_ENUM_TYPE:
case unoidl::Entity::SORT_CONSTANT_GROUP:
break;
@@ -609,7 +609,7 @@ void writeEntity(
static_cast<unoidl::PublishableEntity *>(i->second.entity.get()));
switch (ent->getSort()) {
case unoidl::Entity::SORT_MODULE:
- assert(false); // this cannot happen
+ assert(false && "this cannot happen");
case unoidl::Entity::SORT_ENUM_TYPE:
{
rtl::Reference<unoidl::EnumTypeEntity> ent2(