You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by or...@apache.org on 2012/06/21 10:46:42 UTC

svn commit: r1352456 - /incubator/ooo/branches/AOO34/main/sw/source/core/doc/docedt.cxx

Author: orw
Date: Thu Jun 21 08:46:42 2012
New Revision: 1352456

URL: http://svn.apache.org/viewvc?rev=1352456&view=rev
Log:
#119681# - method <SwDoc::ReplaceRangeImpl(..)> - improve fix of #102333#
           - correct adjustment of <PaM> for joining paragraphs

Modified:
    incubator/ooo/branches/AOO34/main/sw/source/core/doc/docedt.cxx

Modified: incubator/ooo/branches/AOO34/main/sw/source/core/doc/docedt.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/AOO34/main/sw/source/core/doc/docedt.cxx?rev=1352456&r1=1352455&r2=1352456&view=diff
==============================================================================
--- incubator/ooo/branches/AOO34/main/sw/source/core/doc/docedt.cxx (original)
+++ incubator/ooo/branches/AOO34/main/sw/source/core/doc/docedt.cxx Thu Jun 21 08:46:42 2012
@@ -2512,6 +2512,11 @@ SetRedlineMode( eOld );
 			rPam.GetMark()->nContent.Assign( aPtNd.GetNode().GetCntntNode(),
 												nPtCnt );
 
+            if ( bJoinTxt && !bJoinPrev )
+            {
+                rPam.Move( fnMoveBackward );
+            }
+
 			if( pUndoRpl )
             {
                 pUndoRpl->SetEnd(rPam);