[Libreoffice-commits] core.git: sw/source

Chris Sherlock chris.sherlock79 at gmail.com
Thu May 1 10:35:49 PDT 2014


 sw/source/core/crsr/crsrsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f99f4dc93f44fa1cd799d0ad87ded7ee90d82848
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Fri May 2 03:28:02 2014 +1000

    Fix d0b3832bedf65d
    
    Turns out, my logic was wrong in any case. Remove errant not.
    
    Change-Id: I735ee1b4364060aa1476160777e196878a5a208e

diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index 9958ede..62c11d0 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -2511,7 +2511,7 @@ void SwCrsrShell::_ParkPams( SwPaM* pDelRg, SwShellCrsr** ppDelRing )
             }
             pTmpDel = 0;
         }
-        if( bGoNext && !pTmp )
+        if( bGoNext && pTmp )
             pTmp = (SwPaM*)pTmp->GetNext();
 
     } while( !bGoNext || *ppDelRing != pTmp );


More information about the Libreoffice-commits mailing list