Kaydet (Commit) 0215305c authored tarafından Matteo Casalin's avatar Matteo Casalin

Prefer += and -=

Change-Id: I0b1ba2e7c8287340eebec7eb9b3e1aea8945d82f
üst 5294e631
...@@ -114,10 +114,10 @@ namespace ...@@ -114,10 +114,10 @@ namespace
{ {
// dann nur den Content anpassen // dann nur den Content anpassen
if( nCntntPos > rOrigStt.nContent.GetIndex() ) if( nCntntPos > rOrigStt.nContent.GetIndex() )
nCntntPos = nCntntPos - rOrigStt.nContent.GetIndex(); nCntntPos -= rOrigStt.nContent.GetIndex();
else else
nCntntPos = 0; nCntntPos = 0;
nCntntPos = nCntntPos + rCpyStt.nContent.GetIndex(); nCntntPos += rCpyStt.nContent.GetIndex();
} }
rChgPos.nContent.Assign( rChgPos.nNode.GetNode().GetCntntNode(), nCntntPos ); rChgPos.nContent.Assign( rChgPos.nNode.GetNode().GetCntntNode(), nCntntPos );
} }
......
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