diff options
-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(); } |