Kaydet (Commit) ec47c1b8 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

unnecessary cast

Change-Id: I32f3396f97e7144f5aa4037d4a312085ac113e3d
üst 63ca4cd4
......@@ -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);
}
......
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