[Libreoffice-bugs] [Bug 140853] RTF paste meddles with results of next (regular) paste

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 8 16:40:56 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=140853

--- Comment #3 from Telesto <telesto at surfxs.nl> ---
The crashing at step 6 stopped (and started to show the current result) with.

author  Caolán McNamara <caolanm at redhat.com>    2018-08-23 17:19:07 +0100
committer       Miklos Vajna <vmiklos at collabora.co.uk>  2018-08-27 09:27:02
+0200
commit  1f1e349bbee1b2bff01a850d9a7fe4d6a77c4f29 (patch)
tree    b5a5348fc33590bee0ddd87af744878fb0eb9c72
parent  b1d1edff4e81a8299e2a17c7e562d144329549ab (diff)
Resolves: tdf#118382 crash on paste of rtf
into an existing document since....

commit deaa16bd24fba4a3a6b072ab2b94542a7dbd41c6
Author: Serge Krot <Serge.Krot at cib.de>
Date:   Mon Jan 29 12:17:06 2018 +0100

    tdf#72942 Do not overwrite styles from the inserted doc

    During inserting of the text from the external document
    we should not change original default styles in
    currently opened document.

because missing styles aren't created, so there's exceptons
thrown on their use.

I see that the m_bIsNewDoc flag is already checked for since...

commit 5ebe826caf75e8d00656b3333385bf0bbc05cb27
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Oct 4 11:02:59 2013 +0200

    fdo#69384 fix impress -> writer copy&paste

    Regression from 2ade07126971b79c92f729fae5709f2e2e2b495c (fdo#62044 RTF
    import: don't overwrite existing styles when pasting, 2013-06-04),
    during paste, if existing style was found, then the intention was to
    skip that style, but instead we tried to create one.

in the body of the following loop, which should mean that existing
styles are left alone and only missing styles created if we remove
this hunk of the tdf#72942 commit

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210308/2f1a870b/attachment.htm>


More information about the Libreoffice-bugs mailing list