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.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/unoidl/source/unoidl-check.cxx b/unoidl/source/unoidl-check.cxx
index 04c75fcf84d4..ec7a3fbe7e4f 100644
--- a/unoidl/source/unoidl-check.cxx
+++ b/unoidl/source/unoidl-check.cxx
@@ -178,8 +178,7 @@ void checkMap(
->createCursor()),
ignoreUnpublished);
} else {
- bool pubA = dynamic_cast<unoidl::PublishableEntity &>(*entA.get())
- .isPublished();
+ bool pubA = dynamic_cast<unoidl::PublishableEntity&>(*entA).isPublished();
if (!pubA && ignoreUnpublished) {
continue;
}
@@ -196,9 +195,7 @@ void checkMap(
<< std::endl;
std::exit(EXIT_FAILURE);
}
- if (pubA
- && (!dynamic_cast<unoidl::PublishableEntity &>(*entB.get())
- .isPublished()))
+ if (pubA && (!dynamic_cast<unoidl::PublishableEntity&>(*entB).isPublished()))
{
std::cerr
<< "A published entity " << name << " is not published in B"