From 9b80567859754a49f23ae701ec59eb36820fd1a3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 2 Jun 2017 09:37:35 +0200 Subject: Improved loplugin:redundantcast static_cast handling: editeng Change-Id: Ia7541038df7c9eca00f99d70e5a1fc817028f686 --- editeng/source/editeng/eertfpar.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng/source') diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx index 96aac57b553d..6f93d8bf6280 100644 --- a/editeng/source/editeng/eertfpar.cxx +++ b/editeng/source/editeng/eertfpar.cxx @@ -310,8 +310,8 @@ bool EditRTFParser::IsEndPara( EditNodeIdx* pNd, sal_Int32 nCnt ) const void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet ) { - ContentNode* pSttNode = const_cast(static_cast(rSet.GetSttNode())).GetNode(); - ContentNode* pEndNode = const_cast(static_cast(rSet.GetEndNode())).GetNode(); + ContentNode* pSttNode = const_cast(rSet.GetSttNode()).GetNode(); + ContentNode* pEndNode = const_cast(rSet.GetEndNode()).GetNode(); EditPaM aStartPaM( pSttNode, rSet.GetSttCnt() ); EditPaM aEndPaM( pEndNode, rSet.GetEndCnt() ); -- cgit