diff options
author | Noel Power <noel.power@novell.com> | 2011-07-27 10:49:41 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-07-27 10:49:41 +0100 |
commit | e4a250ea29d9962f01af56680db4658f07c1b852 (patch) | |
tree | 44e07096fe40f16e0ced5a5a000eff83ae7b6f87 | |
parent | 7cdeb6d8c8e5ca8a6d3a654f4a973c12fd2886ac (diff) |
Revert "WaE: nEndTab unused"
This reverts commit 7cdeb6d8c8e5ca8a6d3a654f4a973c12fd2886ac.
-rw-r--r-- | sc/source/core/data/document.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 2bcab4645..62e48c54d 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -1883,11 +1883,13 @@ void ScDocument::CopyToClip(const ScClipParam& rClipParam, ScRange aClipRange = rClipParam.getWholeRange(); SCTAB nTab = aClipRange.aStart.Tab(); SCTAB i = 0; + SCTAB nEndTab = static_cast<SCTAB>(maTabs.size()); if ( bUseRangeForVBA ) { pClipDoc->ResetClip( this, nTab ); i = nTab; + nEndTab = nTab; } else pClipDoc->ResetClip(this, pMarks); |