summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Tietze <heiko.tietze@documentfoundation.org>2024-06-29 11:48:43 +0200
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2024-06-29 15:33:04 +0200
commitdfe1f8fddeab73a75d9849aa59a95e8d52e55af4 (patch)
tree99a636c08606a4b4e61deba7bf59f74b320a941a
parent6756a753e933135c6ed033137153f4c1c9255655 (diff)
Related tdf#64028 - COPYDELETE must not update references
in order to behave like cut Change-Id: Ia30428edee00950e2874c0f615e4033167c1031b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169754 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins
-rw-r--r--sc/source/ui/view/cellsh1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index ed879ecb62f9..995d0cd2dfff 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -1461,7 +1461,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
case SID_COPYDELETE: // for graphs in DrawShell
{
weld::WaitObject aWait( GetViewData().GetDialogParent() );
- pTabViewShell->CopyToClip( nullptr, false, false, true );
+ pTabViewShell->CopyToClip( nullptr, true, false, true );
pTabViewShell->DeleteContents( InsertDeleteFlags::CONTENTS );
rReq.Done();
GetViewData().SetPasteMode( ScPasteFlags::Mode | ScPasteFlags::Border );