loplugin:redundantcast: redundant static_casts in editeng

Change-Id: Ifc6d62fce28d540d07d95ec06c3a2b95030f1f0c
This commit is contained in:
Stephan Bergmann
2016-07-08 16:39:33 +02:00
parent 9600746f22
commit 52e92d5622

View File

@@ -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 )