coverity#1019330 Unchecked dynamic_cast
Change-Id: I9c7893f7c9af2b42dcc50f2d1463ec497bb85e30
This commit is contained in:
@@ -914,7 +914,7 @@ OUString CppuType::resolveOuterTypedefs(OUString const & name) const {
|
||||
if (m_typeMgr->getSort(n, &ent) != codemaker::UnoType::SORT_TYPEDEF) {
|
||||
return n;
|
||||
}
|
||||
n = dynamic_cast< unoidl::TypedefEntity * >(ent.get())->getType();
|
||||
n = dynamic_cast<unoidl::TypedefEntity&>(*ent.get()).getType();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user