From 52e92d5622e8d94051d48fa97cf36d7c47fc0589 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 8 Jul 2016 16:39:33 +0200 Subject: [PATCH] loplugin:redundantcast: redundant static_casts in editeng Change-Id: Ifc6d62fce28d540d07d95ec06c3a2b95030f1f0c --- editeng/source/editeng/eertfpar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )