summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-16 02:00:16 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-16 03:37:28 +0100
commit16586efd12d226b2e5750de0b68b2a855acda353 (patch)
tree6f2a21c02a1acda7e9257675f4c3112d144d1016 /sc
parentcoverity: fix copy & paste error (diff)
downloadcore-16586efd12d226b2e5750de0b68b2a855acda353.tar.gz
core-16586efd12d226b2e5750de0b68b2a855acda353.zip
coverity: copy & paste error
Change-Id: I51c79d9b0d59b6de9b831ec8b4e9bf1a2642bd17
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 0da95b49451d..f9b9e9da16b8 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -5056,7 +5056,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;