diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-16 02:00:16 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-16 03:37:28 +0100 |
commit | 16586efd12d226b2e5750de0b68b2a855acda353 (patch) | |
tree | 6f2a21c02a1acda7e9257675f4c3112d144d1016 /sc | |
parent | d93d3232af0148e9ace67386efd597d5e2b1cef4 (diff) |
coverity: copy & paste error
Change-Id: I51c79d9b0d59b6de9b831ec8b4e9bf1a2642bd17
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 2 |
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; |