https://bz.apache.org/ooo/show_bug.cgi?id=118023

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85284|                            |review?
              Flags|                            |

--- Comment #6 from [email protected] ---
Created attachment 85284
  --> https://bz.apache.org/ooo/attachment.cgi?id=85284&action=edit
Hack: skip reference updates for inter-document clipboard paste

This hack fixes the bug for me. By not performing reference updates when it's
an inter-document paste (the "pCBFCP->pClipDoc->GetClipParam().getSourceDocID()
== GetDocumentID()" is false), the reference stays correct instead of
referencing the pasted cell. However I am not sure how reference updates work
in general - the ScDocument::UpdateReference() function seems to do a lot,
affecting chart references, area links, validation lists, etc. - so I am not
sure what else could break...

Can somebody more familiar with Calc's internals please weigh in on whether
this approach is right?

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.

Reply via email to