summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-08 16:39:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-08 16:47:31 +0200
commit52e92d5622e8d94051d48fa97cf36d7c47fc0589 (patch)
tree150bafd9bdefdd0fd0a424c089b40a49f225a662 /editeng
parent9600746f224470d06a8ec1d383ec16fefe847002 (diff)
loplugin:redundantcast: redundant static_casts in editeng
Change-Id: Ifc6d62fce28d540d07d95ec06c3a2b95030f1f0c
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 )