summaryrefslogtreecommitdiff
path: root/sc/source/core/data/attarray.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-12-01 16:49:17 +0000
committerRüdiger Timm <rt@openoffice.org>2003-12-01 16:49:17 +0000
commitda408b742247edba1e88e2ccf2038664059cc912 (patch)
treeae55828be37e92e77d8491e6b83f01543c0f4092 /sc/source/core/data/attarray.cxx
parent810b2bf0321a774a4d98b9b84b501821e143a053 (diff)
INTEGRATION: CWS ooo20031110 (1.12.160); FILE MERGED
2003/11/11 14:37:33 waratah 1.12.160.1: #i22301# Correct for scoping rules
Diffstat (limited to 'sc/source/core/data/attarray.cxx')
-rw-r--r--sc/source/core/data/attarray.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx
index 8ed14882a65d..dea83205d13d 100644
--- a/sc/source/core/data/attarray.cxx
+++ b/sc/source/core/data/attarray.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: attarray.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2003-04-08 16:18:57 $
+ * last change: $Author: rt $ $Date: 2003-12-01 17:49:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2083,7 +2083,9 @@ void ScAttrArray::DeleteRow( USHORT nStartRow, USHORT nSize )
BOOL bFirst=TRUE;
USHORT nStartIndex;
USHORT nEndIndex;
- for (USHORT i = 0; i < nCount-1; i++)
+ USHORT i;
+
+ for ( i = 0; i < nCount-1; i++)
if (pData[i].nRow >= nStartRow && pData[i].nRow <= nStartRow+nSize-1)
{
if (bFirst)