diff options
author | Eike Rathke <erack@redhat.com> | 2014-11-24 23:29:32 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-11-25 03:14:05 +0100 |
commit | f0e7364603c9566bc158303c515c3274ccba62ca (patch) | |
tree | de7cde851505f7ac661dbc1bcffad0960273c409 /sc/inc | |
parent | b144f0ac8695dd62a2053b4e88212d0b109c9a41 (diff) |
fix fdo#79441 again and keep references to other sheets during sort
... also if other references are not updated. References to other sheets
are never to be treated as relative during sort, they are always
absolute, even if they have relative row/column part references.
Broken again during the big sort mess. Even if there was a unit test,
which didn't help as it got disabled / adapted to the change..
Change-Id: Ic0e61c5e1cb0728e20725c29e450ab0eb55c3305
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/tokenarray.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx index 84f43128516f..07f344b5bfce 100644 --- a/sc/inc/tokenarray.hxx +++ b/sc/inc/tokenarray.hxx @@ -206,6 +206,12 @@ public: void AdjustReferenceOnMovedOrigin( const ScAddress& rOldPos, const ScAddress& rNewPos ); /** + * Adjust all internal references on base position change if they point to + * a sheet other than the one of rOldPos. + */ + void AdjustReferenceOnMovedOriginIfOtherSheet( const ScAddress& rOldPos, const ScAddress& rNewPos ); + + /** * Clear sheet deleted flag from internal reference tokens if the sheet * index falls within specified range. Note that when a reference is on a * sheet that's been deleted, its referenced sheet index retains the |