From 9c82cb60de359a34d029ad8c3a84fa264840cde9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 26 May 2014 13:18:17 +0100 Subject: coverity#1019329 Unchecked dynamic_cast Change-Id: Ic340559c9ab9b74f4f932c90e08f2530c08e8d08 --- codemaker/source/cppumaker/cpputype.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codemaker') diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 06bf874ccda8..9acec607f81b 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -929,7 +929,7 @@ OUString CppuType::resolveAllTypedefs(OUString const & name) const { sal_Int32 k2; n = b2u( codemaker::UnoType::decompose( - u2b(dynamic_cast< unoidl::TypedefEntity * >(ent.get())-> + u2b(dynamic_cast(*ent.get()). getType()), &k2)); k1 += k2; //TODO: overflow -- cgit