/[Apache-SVN]
ViewVC logotype

Revision 1730772


Jump to revision: Previous Next
Author: damjan
Date: Wed Feb 17 00:03:50 2016 UTC (8 years, 3 months ago)
Changed paths: 1
Log Message:
#i118023# Calc: Cut-and-paste between spreadsheets causes incorrect cell reference changes

When pasting cut cells, Calc updates references to their old positions
to instead refer to their new positions. This is done using the tab index,
row and column, however the document is not taken into account. As a result,
when cutting and pasting between documents, cells in the target document
end up getting changed instead of in the source, potentially leading to
formula corruption, which is undoable but could easily go unnoticed,
causing data loss when the document is saved.

We don't really support inter-document reference updates anyway, so fix
this bug by restricting reference updates to the intra-document cut and
paste case only.

Patch by: me
Reviewed by: kschenk



Changed paths

Path Details
Directoryopenoffice/trunk/main/sc/source/core/data/document.cxx modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26