diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 13:21:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 15:51:56 +0100 |
commit | e947342b9c4ffaef8e25e2763e60cbc67e6fa36c (patch) | |
tree | 0e37d4c9228f610a87785de566f708158c82baa1 /codemaker/source | |
parent | 9c82cb60de359a34d029ad8c3a84fa264840cde9 (diff) |
coverity#1019326 Unchecked dynamic_cast
Change-Id: Ib3f0776048ca3dbb8a7efa4d9240f4ee9d6ac9dd
Diffstat (limited to 'codemaker/source')
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 9acec607f81b..850c95dca616 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -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(); } |