summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-27 10:23:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-27 10:23:45 +0100
commit9b1d7b844820d4f53973ee5757bcfaa2a5be7321 (patch)
tree90c23e49035527d7a13521f2049b9943cd7b62c3
parent502faf2d034c2e491ce824a4845b459ce3b8b86b (diff)
WaE: nEndTab unused
-rw-r--r--sc/source/core/data/document.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 8f6f728ad9f0..8efe3fe8b6ca 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -1883,13 +1883,11 @@ 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);