summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/eertfpar.cxx2
1 files changed, 1 insertions, 1 deletions
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<EditNodeIdx*>(pNd)->GetNode()->Len());
+ return nCnt == pNd->GetNode()->Len();
}
void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet )