[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - editeng/source

matteocam matteo.campanelli at gmail.com
Fri Aug 7 03:38:32 PDT 2015


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

New commits:
commit eddc701b22134997c53edc7c1d438a343bac017a
Author: matteocam <matteo.campanelli at 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);
     }
 
 }


More information about the Libreoffice-commits mailing list