[Libreoffice-commits] core.git: sc/source
Julien Nabet
serval2412 at yahoo.fr
Tue Mar 19 16:37:19 PDT 2013
sc/source/core/tool/compiler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fb33deba9e86a4c2e97db28bc929b6cebaacaf01
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue Mar 19 22:10:00 2013 +0100
coverity#735382 Copy-paste error
Change-Id: I7f033b189feee848dff1e3682be04a9b2f76fae8
Reviewed-on: https://gerrit.libreoffice.org/2854
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
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 @@ ScRangeData* ScCompiler::UpdateMoveTab( SCTAB nOldTab, SCTAB nNewTab,
if ( rRef2.IsTabRel() )
nTab2 = rRef2.nRelTab + nPosTab;
else
- nTab2 = rRef1.nTab;
+ nTab2 = rRef2.nTab;
if ( nTab2 < nTab1 )
{ // PutInOrder
rRef1.nTab = nTab2;
More information about the Libreoffice-commits
mailing list