summaryrefslogtreecommitdiff
path: root/sc/source/core/data/compressedarray.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-03-29 12:30:50 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-03-29 12:30:50 +0000
commit41927cbf99db00a37b3626504ac4246e9868475a (patch)
treea372fff467477203e9a509f4b1e90d5f3e5622c7 /sc/source/core/data/compressedarray.cxx
parentc4072ab66aba5eb06684172a975693f4d1afbb5e (diff)
INTEGRATION: CWS dr34 (1.4.158); FILE MERGED
2005/02/28 17:15:18 er 1.4.158.1: #i42904# InitLimits: break if condition isn't met
Diffstat (limited to 'sc/source/core/data/compressedarray.cxx')
-rw-r--r--sc/source/core/data/compressedarray.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/compressedarray.cxx b/sc/source/core/data/compressedarray.cxx
index 3fc4a1fbcbcc..b073315dc469 100644
--- a/sc/source/core/data/compressedarray.cxx
+++ b/sc/source/core/data/compressedarray.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: compressedarray.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2004-10-22 07:57:49 $
+ * last change: $Author: rt $ $Date: 2005-03-29 13:30:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -872,7 +872,7 @@ void ScCoupledCompressedArrayIterator<A,D,S>::InitLimits()
{
bool bFound = true;
bool bMoved = false;
- while ((*aIter1 & rBitMask) != rMaskedCompare)
+ while (bFound && ((*aIter1 & rBitMask) != rMaskedCompare))
{
bFound = aIter1.NextRange();
bMoved = true;