]> git.lyx.org Git - lyx.git/commitdiff
* src/CutAndPaste.C: white spaces only
authorMichael Schmitt <michael.schmitt@teststep.org>
Thu, 23 Nov 2006 21:46:39 +0000 (21:46 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Thu, 23 Nov 2006 21:46:39 +0000 (21:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16018 a592a061-630c-0410-9148-cb99ea01b6c8

src/CutAndPaste.C

index 88fbbb6141900187a35658d9131614bb2bbb425f..41aa5ac3b90cf7313bd18591a672795818124415 100644 (file)
@@ -299,14 +299,13 @@ PitPosPair eraseSelectionHelper(BufferParams const & params,
                // FIXME: Change tracking (MG)
                bool const merge = !params.trackChanges ||
                                   pars[pit].isInserted(pars[pit].size());
-               pos_type const left  = ( pit == startpit ? startpos : 0 );
-               pos_type const right = ( pit == endpit ? endpos :
-                               pars[pit].size() + 1 );
+               pos_type const left  = (pit == startpit ? startpos : 0);
+               pos_type const right = (pit == endpit ? endpos : pars[pit].size() + 1);
                // Logical erase only:
                pars[pit].eraseChars(left, right, false);
                // Separate handling of para break:
                if (merge && pit != endpit &&
-                  (pit + 1 != endpit || pars[pit].hasSameLayout(pars[pit + 1]))) {
+                   (pit + 1 != endpit || pars[pit].hasSameLayout(pars[pit + 1]))) {
                        pos_type const thissize = pars[pit].size();
                        if (doclear)
                                pars[pit + 1].stripLeadingSpaces();