summaryrefslogtreecommitdiffstats
path: root/codemaker/source/cppumaker/cpputype.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/cppumaker/cpputype.cxx')
-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 368cfb6e72f1..67b842f0c3d1 100644
--- a/codemaker/source/cppumaker/cpputype.cxx
+++ b/codemaker/source/cppumaker/cpputype.cxx
@@ -528,7 +528,7 @@ void CppuType::dumpInitializer(
break;
case codemaker::UnoType::Sort::Enum:
out << codemaker::cpp::scopedCppName(u2b(n)) << "_"
- << (dynamic_cast<unoidl::EnumTypeEntity&>(*ent.get()).
+ << (dynamic_cast<unoidl::EnumTypeEntity&>(*ent).
getMembers()[0].name);
break;
case codemaker::UnoType::Sort::String: