diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-03 18:44:10 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-04 01:09:57 +0100 |
commit | ec47c1b80b264e21b6ee6ffe00ca2fa6d82b5396 (patch) | |
tree | 68555d351f79b77061417581c397410cc9d88d8d /sw | |
parent | 63ca4cd4aa5c6b52bb68aaaa1b2e30ce366eb5ee (diff) |
unnecessary cast
Change-Id: I32f3396f97e7144f5aa4037d4a312085ac113e3d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unoobj2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx index 09cdf3ead506..883ff5cb589d 100644 --- a/sw/source/core/unocore/unoobj2.cxx +++ b/sw/source/core/unocore/unoobj2.cxx @@ -140,14 +140,14 @@ void DeepCopyPaM(SwPaM const & rSource, SwPaM & rTarget) if (rSource.GetNext() != &rSource) { - SwPaM *pPam = static_cast<SwPaM *>(rSource.GetNext()); + SwPaM *pPam = rSource.GetNext(); do { // create new PaM SwPaM *const pNew = new SwPaM(*pPam); // insert into ring pNew->MoveTo(&rTarget); - pPam = static_cast<SwPaM *>(pPam->GetNext()); + pPam = pPam->GetNext(); } while (pPam != &rSource); } |