Commits

ch2000liuy  committed 8de965e

#i97433#: migrate CWS swundo4 to SVN.

  • Participants
  • Parent commits 8de39f5

Comments (0)

Files changed (1)

File sw/source/ui/dochdl/swdtflvr.cxx

     SwUndoId eUndoId = bMove ? UNDO_UI_DRAG_AND_MOVE : UNDO_UI_DRAG_AND_COPY;
 
     // #111827#
-    SwRewriter aRewriter;
+    // --> #issue97433
+    /*SwRewriter aRewriter;
 
     aRewriter.AddRule(UNDO_ARG1, rSrcSh.GetSelDescr());
 
 	if(rSrcSh.GetDoc() != rSh.GetDoc())
         rSrcSh.StartUndo( eUndoId, &aRewriter );
-    rSh.StartUndo( eUndoId, &aRewriter );
+    rSh.StartUndo( eUndoId, &aRewriter );*/
+    if(rSrcSh.GetDoc() != rSh.GetDoc())
+        rSrcSh.StartUndo( eUndoId );
+    rSh.StartUndo( eUndoId );
 
 	rSh.StartAction();
 	rSrcSh.StartAction();