summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-02-10 19:45:16 +0100
committerEike Rathke <erack@redhat.com>2014-02-10 20:53:35 +0100
commit840accea91da58a4532ff7cf7f5b1eaa501f0b6d (patch)
treed04322481df99203e08deefa23ec0276c5f1350b
parent2e2303a3e2904735cf7da416ec79e107785106f4 (diff)
cosmetical adapt to style
Change-Id: I210f74670631707b02b68150efac76b0985390ac
-rw-r--r--sc/source/core/data/table1.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 22da0ae1009a..8e6f276fe299 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -882,15 +882,15 @@ void ScTable::GetDataArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol, S
if ( !bTop && rStartRow < MAXROW && rStartRow < rEndRow )
{
- bool shrink = true;
+ bool bShrink = true;
do
{
- for ( SCCOL i = rStartCol; i<=rEndCol && shrink; i++)
+ for ( SCCOL i = rStartCol; i<=rEndCol && bShrink; i++)
if (aCol[i].HasDataAt(rStartRow))
- shrink = false;
- if (shrink)
+ bShrink = false;
+ if (bShrink)
++rStartRow;
- }while( shrink && rStartRow < MAXROW && rStartRow < rEndRow);
+ } while (bShrink && rStartRow < MAXROW && rStartRow < rEndRow);
}
}