diff options
author | Eike Rathke <erack@redhat.com> | 2014-08-14 23:36:47 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-08-14 23:50:58 +0200 |
commit | 69adec3ec051ff94f600ab899506ca9d645a8b56 (patch) | |
tree | b59a4a2076b540925cbdec296b8ca60fd1b8cd91 /sc/inc | |
parent | 4b8a131d3897a3fda8d4e8fe635f19cc41bed36a (diff) |
correct references after sort, fdo#79441
5c6ee09126631342939ae8766fe36083d8c011e3 introduced a different
algorithm for reference handling during sort. Unfortunately that clashed
with the SC_CLONECELL_ADJUST3DREL introduced a little earlier resulting
in relative 3D references effectively being "adjusted" twice.
Furthermore, in-sort-range range references to one row (or column) were
not adapted to the move at all if the formula within the range listened
only to ranges and not a single cell. Added collecting and adjusting
area listeners for this.
Last but not least, external (relative) references need to be treated
the same as internal 3D references, making them point to the same
location after the sort.
Change-Id: I492768b525f95f1c43d1c6e7a63a36cce093fa5a
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/types.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/inc/types.hxx b/sc/inc/types.hxx index 8dc8f181f28d..d40b2a5e110e 100644 --- a/sc/inc/types.hxx +++ b/sc/inc/types.hxx @@ -103,7 +103,9 @@ typedef boost::unordered_map<SCCOLROW,SCCOLROW> ColRowReorderMapType; enum AreaOverlapType { AreaInside, - AreaPartialOverlap + AreaPartialOverlap, + OneRowInsideArea, + OneColumnInsideArea }; } |