diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-26 09:24:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-26 09:24:57 +0200 |
commit | efc8510ca900153442b329ec318f28cddd826757 (patch) | |
tree | abe96eb462693839667aaa40295aad08ee1e86ff | |
parent | c642425fd372ef219a683b5198600746fb7f0c3c (diff) |
loplugin:redundantcast
Change-Id: Id30d771b85716ab9c51e4c8fde36ad397ab44678
-rw-r--r-- | sw/source/core/doc/CntntIdxStore.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx index ef7bab416595..5b6271e58465 100644 --- a/sw/source/core/doc/CntntIdxStore.cxx +++ b/sw/source/core/doc/CntntIdxStore.cxx @@ -384,7 +384,7 @@ void ContentIdxStoreImpl::SaveUnoCrsrs(SwDoc* pDoc, sal_uLong nNode, sal_Int32 n auto pUnoCrsr(pWeakUnoCrsr.lock()); if(!pUnoCrsr) continue; - for(SwPaM& rPaM : (const_cast<SwUnoCrsr*>(pUnoCrsr.get()))->GetRingContainer()) + for(SwPaM& rPaM : pUnoCrsr.get()->GetRingContainer()) { lcl_ChkPaMBoth( m_aUnoCrsrEntries, nNode, nContent, rPaM); } |