sc/source/ui/view/cellsh.cxx | 12 ------------ 1 file changed, 12 deletions(-)
New commits: commit 5662bb4eec10ac62aea79272047ed49cfa264d27 Author: Patrick Luby <plub...@neooffice.org> AuthorDate: Sun Jul 30 09:04:19 2023 -0400 Commit: Patrick Luby <plub...@neooffice.org> CommitDate: Sun Jul 30 19:36:31 2023 +0200 tdf#156506 Fix failure to draw copy border on Windows Revert portion of commit 9d68c794d67259a38de1465090f6f1e7fb588d62 that stops the animated border when a copy action is performed in a different document by cancelling the animated border. While the change worked on macOS and Linux, on Windows it stops the currently active copy border so revert this fix. Change-Id: I0dbdc8b1bf3077eecadbbe591a27e60ef3d48b7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155038 Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> Tested-by: Jenkins Reviewed-by: Patrick Luby <plub...@neooffice.org> diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx index 1a8216e6a1ba..ec5914a2224b 100644 --- a/sc/source/ui/view/cellsh.cxx +++ b/sc/source/ui/view/cellsh.cxx @@ -557,18 +557,6 @@ IMPL_LINK( ScCellShell, ClipboardChanged, TransferableDataHelper*, pDataHelper, rBindings.Invalidate( SID_PASTE_AS_LINK ); rBindings.Invalidate( SID_PASTE_TEXTIMPORT_DIALOG ); rBindings.Invalidate( SID_CLIPBOARD_FORMAT_ITEMS ); - - // Fix failure to stop the animated border when a copy action is - // performed in a different document by cancelling the animated border. - // This transferable has lost ownership of the system clipboard so, - // in essence, the previous copy action that created this transferable - // has been cancelled. - if ( !GetViewData().IsAnyFillMode() ) - { - GetViewData().SetPasteMode( ScPasteFlags::NONE ); - // Clear CopySourceOverlay in each window of a split/frozen tabview - GetViewData().GetView()->UpdateCopySourceOverlay(); - } } namespace {