diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-25 15:40:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-26 11:46:38 +0200 |
commit | b61ca31e53f0a56667a5e00e966681be29ea7bf7 (patch) | |
tree | 812fe8e682bbfae131bd0698a35ddf513795c7bd /sw/source/core/unocore/unoobj.cxx | |
parent | 47e395cad525385d4a8afdd359bcee2b6380fa22 (diff) |
loplugin: cstylecast
Change-Id: I19be8b6df10515e195a4d3ecb8f003c85d2349c2
Diffstat (limited to 'sw/source/core/unocore/unoobj.cxx')
-rw-r--r-- | sw/source/core/unocore/unoobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index 9d7ddef93c66..ab964094342b 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -134,7 +134,7 @@ SwUnoInternalPaM& SwUnoInternalPaM::operator=(const SwPaM& rPaM) } else DeleteMark(); - while(&rPaM != (pTmp = (const SwPaM*)pTmp->GetNext())) + while(&rPaM != (pTmp = static_cast<const SwPaM*>(pTmp->GetNext()))) { if(pTmp->HasMark()) new SwPaM(*pTmp->GetMark(), *pTmp->GetPoint(), this); |