diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx index 136b903e7bc2..cb97fcc3bacc 100644 --- a/editeng/source/editeng/eertfpar.cxx +++ b/editeng/source/editeng/eertfpar.cxx @@ -291,7 +291,7 @@ void EditRTFParser::SetEndPrevPara( EditNodeIdx*& rpNodePos, bool EditRTFParser::IsEndPara( EditNodeIdx* pNd, sal_Int32 nCnt ) const { - return nCnt == ( static_cast(pNd)->GetNode()->Len()); + return nCnt == pNd->GetNode()->Len(); } void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet )