summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh1.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-08 04:48:40 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-08 04:51:44 +0100
commit4687fe4917889a0fc0c4ca377970cb006bd59c85 (patch)
tree69392804fdb57308f4f4fc57a5e7260ee47cbd9d /sc/source/ui/view/cellsh1.cxx
parent0405deaf2d9f06dacea3b22def047a126eceebd7 (diff)
fdo#36100: show blink borders for cut like we do for copy
Diffstat (limited to 'sc/source/ui/view/cellsh1.cxx')
-rw-r--r--sc/source/ui/view/cellsh1.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 8a703b80f119..98f49e36592e 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -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;