Return-Path: X-Original-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 089AC8E9F for ; Sat, 17 Sep 2011 22:40:26 +0000 (UTC) Received: (qmail 96797 invoked by uid 500); 17 Sep 2011 22:40:24 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 96770 invoked by uid 500); 17 Sep 2011 22:40:24 -0000 Mailing-List: contact ooo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-commits@incubator.apache.org Received: (qmail 96762 invoked by uid 99); 17 Sep 2011 22:40:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 22:40:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 22:40:23 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9A3142388ABC; Sat, 17 Sep 2011 22:40:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1172116 - /incubator/ooo/trunk/main/sw/source/core/undo/untblk.cxx Date: Sat, 17 Sep 2011 22:40:03 -0000 To: ooo-commits@incubator.apache.org From: mst@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20110917224003.9A3142388ABC@eris.apache.org> 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 # 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 #include #include +#include #include #include // fuer die UndoIds #include @@ -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;