summaryrefslogtreecommitdiff
path: root/unoidl/source/unoidl-write.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl/source/unoidl-write.cxx')
-rw-r--r--unoidl/source/unoidl-write.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/unoidl/source/unoidl-write.cxx b/unoidl/source/unoidl-write.cxx
index 39a16f6c116c..e04fa16473a5 100644
--- a/unoidl/source/unoidl-write.cxx
+++ b/unoidl/source/unoidl-write.cxx
@@ -62,6 +62,7 @@ OUString getArgumentUri(sal_uInt32 argument, bool * entities) {
if (entities == nullptr) {
badUsage();
}
+ assert(entities && "badUsage exits otherwise");
*entities = true;
} else if (entities != nullptr) {
*entities = false;