summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-24 04:52:25 +0100
committerEike Rathke <erack@redhat.com>2015-01-07 14:40:40 +0000
commit7d2345da68a4149b65cc78000088f887a203686c (patch)
tree69c29f4e6d921b50dd5dc05ffd26f28440e58934 /sc/source
parent98aae6bbf45e96267489198db5a9e5c8631d06dd (diff)
we want to compare two different cells, fdo#85353
Change-Id: Ie612555a63a1eff79e6c35aeed3cfa27b948ad38 Reviewed-on: https://gerrit.libreoffice.org/13635 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source')
-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 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))