Kaydet (Commit) 4687fe49 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

fdo#36100: show blink borders for cut like we do for copy

üst 0405deaf
......@@ -1150,7 +1150,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
case SID_COPY: // fuer Grafiken in DrawShell
{
WaitObject aWait( GetViewData()->GetDialogParent() );
pTabViewShell->CopyToClip( NULL, false, false, sal_True );
pTabViewShell->CopyToClip( NULL, false, false, true );
rReq.Done();
GetViewData()->SetPasteMode( (ScPasteFlags) (SC_PASTE_MODE | SC_PASTE_BORDER) );
pTabViewShell->ShowCursor();
......@@ -1161,9 +1161,10 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
case SID_CUT: // fuer Grafiken in DrawShell
{
WaitObject aWait( GetViewData()->GetDialogParent() );
pTabViewShell->CutToClip( NULL, sal_True );
pTabViewShell->CutToClip( NULL, true );
rReq.Done();
GetViewData()->SetPasteMode( SC_PASTE_MODE );
GetViewData()->SetPasteMode( (ScPasteFlags)(SC_PASTE_MODE | SC_PASTE_BORDER));
pTabViewShell->ShowCursor();
pTabViewShell->UpdateCopySourceOverlay();
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment