[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sc/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Wed Jan 7 06:41:11 PST 2015


 sc/source/core/data/documen4.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d2345da68a4149b65cc78000088f887a203686c
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Wed Dec 24 04:52:25 2014 +0100

    we want to compare two different cells, fdo#85353
    
    Change-Id: Ie612555a63a1eff79e6c35aeed3cfa27b948ad38
    Reviewed-on: https://gerrit.libreoffice.org/13635
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index 1f60868..2ab0088 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))


More information about the Libreoffice-commits mailing list