diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-21 14:47:22 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-07-04 19:31:58 +0000 |
commit | 2511e272481172b439d167fd8b09d14c755f223d (patch) | |
tree | 3ebe2f3e84753cecd4f1270f837e00871f5ff1ec /sc/inc/simplehintids.hxx | |
parent | f76b8d1cfe07e84744bc57a22e815d347f3f8f23 (diff) |
Resolves: tdf#90285 during sheet copying the old sheets retain their old index
at the point that ScDocument::CopyTab calls StartListeners so when
void ScColumn::StartListening(sc::StartListeningContext& rCxt...
calls rCxt.getBlockPosition(nTab) it calls it with the old nTab index
in ScDocument::maTabs, so the return block position is not correct.
Here I bubble down the requested ScAddress and use its Tab/Col/Row
members rather than trust the members of the indexed-into elements
Change-Id: I291e8c1146c2caa4d0976780b1ee6bcc41994e3c
Reviewed-on: https://gerrit.libreoffice.org/26552
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/simplehintids.hxx')
0 files changed, 0 insertions, 0 deletions