diff options
author | Eike Rathke <erack@redhat.com> | 2016-08-16 11:09:39 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-08-16 11:22:20 +0200 |
commit | 50e88b1dec896236b6d7653a767028d0bed1c857 (patch) | |
tree | 2f2135afdbb24917f9d1ff10032de34631bb5727 | |
parent | 0f06a4fdad74346ef9a69142d43a147f9e8243b4 (diff) |
update miBroadcasterPos before copying it, tdf#100852 related
Also for CopyAsLinkHandler.
Change-Id: Ia8ca5cbcd5edcf3b85f8d735d7c698572479ec22
-rw-r--r-- | sc/source/core/data/column.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 4257ea1ccbb8..eba8a0dc37c3 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -1307,7 +1307,16 @@ public: ~CopyAsLinkHandler() { if (mpDestPos) + { + // Similar to CopyByCloneHandler, don't copy a singular iterator. + { + sc::ColumnBlockPosition aTempBlock; + mrDestCol.InitBlockPosition(aTempBlock); + maDestPos.miBroadcasterPos = aTempBlock.miBroadcasterPos; + } + *mpDestPos = maDestPos; + } } void setStartListening( bool b ) |