summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/tocread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/tocread.cxx')
-rw-r--r--lotuswordpro/source/filter/tocread.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/tocread.cxx b/lotuswordpro/source/filter/tocread.cxx
index c98ec8562642..f85e0c4230d8 100644
--- a/lotuswordpro/source/filter/tocread.cxx
+++ b/lotuswordpro/source/filter/tocread.cxx
@@ -306,8 +306,7 @@ CBenTOCReader::ReadTOC()
return BenErr_DuplicateName;
}
- CBenObject * pPrevObject = static_cast<CBenObject *>( cpContainer->
- GetObjects().GetLast());
+ CUtListElmt* pPrevObject = cpContainer->GetObjects().GetLast();
if (PropertyID == BEN_PROPID_GLOBAL_PROPERTY_NAME)
pObject = new CBenPropertyName(cpContainer, ObjectID,