coverity#1019326 Unchecked dynamic_cast
Change-Id: Ib3f0776048ca3dbb8a7efa4d9240f4ee9d6ac9dd
This commit is contained in:
@@ -719,7 +719,7 @@ OUString CppuType::getTypeClass(OUString const & name, bool cStyle) {
|
||||
: OUString("::css::uno::TypeClass_INTERFACE");
|
||||
case codemaker::UnoType::SORT_TYPEDEF:
|
||||
return getTypeClass(
|
||||
dynamic_cast< unoidl::TypedefEntity * >(ent.get())->getType(),
|
||||
dynamic_cast<unoidl::TypedefEntity&>(*ent.get()).getType(),
|
||||
cStyle);
|
||||
default:
|
||||
for (;;) { std::abort(); }
|
||||
|
Reference in New Issue
Block a user