Kaydet (Commit) 9c82cb60 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1019329 Unchecked dynamic_cast

Change-Id: Ic340559c9ab9b74f4f932c90e08f2530c08e8d08
üst 353188ec
...@@ -929,7 +929,7 @@ OUString CppuType::resolveAllTypedefs(OUString const & name) const { ...@@ -929,7 +929,7 @@ OUString CppuType::resolveAllTypedefs(OUString const & name) const {
sal_Int32 k2; sal_Int32 k2;
n = b2u( n = b2u(
codemaker::UnoType::decompose( codemaker::UnoType::decompose(
u2b(dynamic_cast< unoidl::TypedefEntity * >(ent.get())-> u2b(dynamic_cast<unoidl::TypedefEntity&>(*ent.get()).
getType()), getType()),
&k2)); &k2));
k1 += k2; //TODO: overflow k1 += k2; //TODO: overflow
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment