[PATCH] coverity#735382 Copy-paste error

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Tue Mar 19 14:12:05 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2854

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/54/2854/1

coverity#735382 Copy-paste error

Change-Id: I7f033b189feee848dff1e3682be04a9b2f76fae8
---
M sc/source/core/tool/compiler.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 07f4673..931bf1c 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -4972,7 +4972,7 @@
                 if ( rRef2.IsTabRel() )
                     nTab2 = rRef2.nRelTab + nPosTab;
                 else
-                    nTab2 = rRef1.nTab;
+                    nTab2 = rRef2.nTab;
                 if ( nTab2 < nTab1 )
                 {   // PutInOrder
                     rRef1.nTab = nTab2;

-- 
To view, visit https://gerrit.libreoffice.org/2854
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f033b189feee848dff1e3682be04a9b2f76fae8
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet <serval2412 at yahoo.fr>



More information about the LibreOffice mailing list