You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2011/09/18 00:40:03 UTC
svn commit: r1172116 -
/incubator/ooo/trunk/main/sw/source/core/undo/untblk.cxx
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 <ms...@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;