incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r1172116 - /incubator/ooo/trunk/main/sw/source/core/undo/untblk.cxx
Date Sat, 17 Sep 2011 22:40:03 GMT
Author: mst
Date: Sat Sep 17 22:40:03 2011
New Revision: 1172116

URL: http://svn.apache.org/viewvc?rev=1172116&view=rev
Log:
sw34bf06: #i117867#: SwUndoInserts::RedoImpl: do not use SwUndRng

# HG changeset patch
# User Michael Stahl <mst@openoffice.org>
# Date 1304511728 0
# Node ID f573e7e8e68c3741b01779dbba749ab85ee90d1c
# Parent  766a0b3ad79f0aba468ae8ca769cad4906057167

Modified:
    incubator/ooo/trunk/main/sw/source/core/undo/untblk.cxx

Modified: incubator/ooo/trunk/main/sw/source/core/undo/untblk.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/core/undo/untblk.cxx?rev=1172116&r1=1172115&r2=1172116&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/core/undo/untblk.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/core/undo/untblk.cxx Sat Sep 17 22:40:03 2011
@@ -33,6 +33,7 @@
 #include <frmfmt.hxx>
 #include <doc.hxx>
 #include <IDocumentUndoRedo.hxx>
+#include <IShellCursorSupplier.hxx>
 #include <docary.hxx>
 #include <swundo.hxx>			// fuer die UndoIds
 #include <pam.hxx>
@@ -269,7 +270,7 @@ void SwUndoInserts::UndoImpl(::sw::UndoR
 void SwUndoInserts::RedoImpl(::sw::UndoRedoContext & rContext)
 {
 	// setze noch den Cursor auf den Redo-Bereich
-    SwPaM *const pPam = & AddUndoRedoPaM(rContext);
+    SwPaM *const pPam(& rContext.GetCursorSupplier().CreateNewShellCursor());
 	SwDoc* pDoc = pPam->GetDoc();
 	pPam->DeleteMark();
 	pPam->GetPoint()->nNode = nSttNode - nNdDiff;



Mime
View raw message