summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codemaker/source/cppumaker/cpputype.cxx2
1 files changed, 1 insertions, 1 deletions
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<unoidl::TypedefEntity&>(*ent.get()).
getType()),
&k2));
k1 += k2; //TODO: overflow