Kaydet (Commit) efc8510c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:redundantcast

Change-Id: Id30d771b85716ab9c51e4c8fde36ad397ab44678
üst c642425f
...@@ -384,7 +384,7 @@ void ContentIdxStoreImpl::SaveUnoCrsrs(SwDoc* pDoc, sal_uLong nNode, sal_Int32 n ...@@ -384,7 +384,7 @@ void ContentIdxStoreImpl::SaveUnoCrsrs(SwDoc* pDoc, sal_uLong nNode, sal_Int32 n
auto pUnoCrsr(pWeakUnoCrsr.lock()); auto pUnoCrsr(pWeakUnoCrsr.lock());
if(!pUnoCrsr) if(!pUnoCrsr)
continue; continue;
for(SwPaM& rPaM : (const_cast<SwUnoCrsr*>(pUnoCrsr.get()))->GetRingContainer()) for(SwPaM& rPaM : pUnoCrsr.get()->GetRingContainer())
{ {
lcl_ChkPaMBoth( m_aUnoCrsrEntries, nNode, nContent, rPaM); lcl_ChkPaMBoth( m_aUnoCrsrEntries, nNode, nContent, rPaM);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment