summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-24 04:52:25 +0100
committerAndras Timar <andras.timar@collabora.com>2015-01-08 15:09:47 +0100
commitc359b92abd7d798917283398b812d965a1f098b9 (patch)
tree7940e50bb52962fa4d7af30c4027e6978f7788cb /sc
parent74a74ba8e538c590eea8d87cd2f56eca7f640225 (diff)
we want to compare two different cells, fdo#85353
Change-Id: Ie612555a63a1eff79e6c35aeed3cfa27b948ad38 Reviewed-on: https://gerrit.libreoffice.org/13636 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 96409fd72c6fca3b64254666471f590ff89b9a26)
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/documen4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index b8e5958c9902..6e0da40d280b 100644
--- a/sc/source/core/data/documen4.cxx
+++ b/sc/source/core/data/documen4.cxx
@@ -1324,7 +1324,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))