diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-24 04:52:25 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-12-24 04:55:49 +0100 |
commit | e97d7d0a842562ef3bcdfb0e4c2f05a99ad6753c (patch) | |
tree | 2831d2d950371288ff1f749446e96c156ecc38be | |
parent | 4bc2212a048cde9fc17728eaad4d8637468c1586 (diff) |
we want to compare two different cells, fdo#85353
Change-Id: Ie612555a63a1eff79e6c35aeed3cfa27b948ad38
-rw-r--r-- | sc/source/core/data/documen4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx index 1f60868ff306..2ab0088caeb5 100644 --- a/sc/source/core/data/documen4.cxx +++ b/sc/source/core/data/documen4.cxx @@ -1315,7 +1315,7 @@ void ScDocument::CompareDocument( ScDocument& rOtherDoc ) if ( ValidCol(nOtherCol) && ValidRow(nOtherRow) ) { ScAddress aOtherPos( nOtherCol, nOtherRow, nOtherTab ); - aOtherCell.assign(*this, aOtherPos); + aOtherCell.assign(rOtherDoc, aOtherPos); } if (!aThisCell.equalsWithoutFormat(aOtherCell)) |