editeng/source/outliner/outlvw.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit eddc701b22134997c53edc7c1d438a343bac017a
Author: matteocam <matteo.campane...@gmail.com>
Date:   Fri Aug 7 12:37:54 2015 +0200

    Calling chaining during undo action for paste
    
    Change-Id: I68516eaa53703df9a96a8c5727272ee11f172788

diff --git a/editeng/source/outliner/outlvw.cxx 
b/editeng/source/outliner/outlvw.cxx
index 16c416c..2f691bd 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -707,13 +707,13 @@ void OutlinerView::PasteSpecial()
                 pOwner->ImplSetLevelDependendStyleSheet( nPara );
         }
 
+        // XXX: Chaining call
+        if (aEndCutPasteLink.IsSet())
+            aEndCutPasteLink.Call(NULL);
+
         pEditView->SetEditEngineUpdateMode( true );
         pOwner->UndoActionEnd( OLUNDO_INSERT );
         pEditView->ShowCursor( true, true );
-
-        // XXX: Not sure if this should be called right before ShowCursor
-        if (aEndCutPasteLink.IsSet())
-            aEndCutPasteLink.Call(NULL);
     }
 
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to