From 16732661172bd32a853660b0fa3d4dcec43edc63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Sat, 6 Apr 2002 12:50:33 +0000 Subject: [PATCH] ws changes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3918 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/CutAndPaste.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CutAndPaste.C b/src/CutAndPaste.C index d5306afd31..e3fabf53e6 100644 --- a/src/CutAndPaste.C +++ b/src/CutAndPaste.C @@ -283,13 +283,13 @@ bool CutAndPaste::pasteSelection(Paragraph ** par, Paragraph ** endpar, // temporary set *par as previous of tmpbuf as we might have to realize // the font. tmpbuf->previous(*par); - + // make sure there is no class difference SwitchLayoutsBetweenClasses(textclass, tc, tmpbuf, - current_view->buffer()->params); - + current_view->buffer()->params); + Paragraph::depth_type max_depth = (*par)->getMaxDepthAfter(current_view->buffer()); - + while(tmpbuf) { // if we have a negative jump so that the depth would go below // 0 depth then we have to redo the delta to this new max depth -- 2.39.2