diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-03 16:15:42 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-04 01:09:33 +0100 |
commit | ac5d8e3a3571d41c62ab7b6b80b1c7c11a869947 (patch) | |
tree | 8abcbc8f0d6627ca319f8a893bfa8c5193f82b9f /sw/source/core/crsr/crsrsh.cxx | |
parent | 001808fdfc50fb57bf442a100adda78b88abd8e4 (diff) |
unnecessary cast
Change-Id: Ib7a8a75c92e76d179034ec39a597871456b55906
Diffstat (limited to 'sw/source/core/crsr/crsrsh.cxx')
-rw-r--r-- | sw/source/core/crsr/crsrsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index 02d096fdd5b8..0e78181b55f5 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -3236,7 +3236,7 @@ void SwCrsrShell::ClearUpCrsrs() // start of the ring SwPaM * pStartCrsr = GetCrsr(); // start loop with second entry of the ring - SwPaM * pCrsr = static_cast<SwPaM *>(pStartCrsr->GetNext()); + SwPaM * pCrsr = pStartCrsr->GetNext(); SwPaM * pTmpCrsr; bool bChanged = false; @@ -3244,7 +3244,7 @@ void SwCrsrShell::ClearUpCrsrs() // it is invalid. while (pCrsr != pStartCrsr) { - pTmpCrsr = static_cast<SwPaM *>(pCrsr->GetNext()); + pTmpCrsr = pCrsr->GetNext(); if ( ! lcl_CrsrOk(*pCrsr)) { delete pCrsr; |