sw: fix pasting multiple flys in SwFEShell::Paste()
commitbadad69848f10b462a11f5b5e784cb468a94b180
authorMichael Stahl <michael.stahl@allotropia.de>
Fri, 3 Jun 2022 15:56:02 +0000 (3 17:56 +0200)
committerMichael Stahl <michael.stahl@allotropia.de>
Tue, 7 Jun 2022 09:47:59 +0000 (7 11:47 +0200)
treeb543c1a800a07f2e04c251c172926da65ed5440e
parent196d9e16b7017db2225531cd240e7b6e8f7c1d66
sw: fix pasting multiple flys in SwFEShell::Paste()

This was most recently fixed in 3cfd63cb55ab1a7e6df53eaeb2a7623be05983d0
but that didn't take into account that now with Ctrl+A multiple flys can
be selected and copied, and all of them should be pasted; remove the odd
restriction to paste only one text frame.

This reveals that pasting a text frame will actually select the text
frame, so subsequent flys end up anchored inside the text frame; delay
selection until all flys have been pasted.

Change-Id: I049f60ca9656e5075d481d4501bb1ffdd28a4e21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135366
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
sw/source/core/frmedt/fecopy.cxx