diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 13:16:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 15:51:55 +0100 |
commit | 353188ecc44db8ed4e7c1e900901c17e4d7ce8e4 (patch) | |
tree | e465aa6dff7b5781f3e56c00330204817197cd93 /codemaker | |
parent | 4dbb91ce732a51b8f388e12038ecf43b1b5d98da (diff) |
coverity#1019330 Unchecked dynamic_cast
Change-Id: I9c7893f7c9af2b42dcc50f2d1463ec497bb85e30
Diffstat (limited to 'codemaker')
-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 1ef6506123d3..06bf874ccda8 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -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(); } } |