[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jul 27 02:24:25 PDT 2011
sc/source/core/data/document.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 7cdeb6d8c8e5ca8a6d3a654f4a973c12fd2886ac
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jul 27 10:23:45 2011 +0100
WaE: nEndTab unused
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 62e48c5..2bcab46 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);
More information about the Libreoffice-commits
mailing list