summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/rangeutl.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-08-26 23:32:10 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-08-26 23:32:10 -0400
commit8a59e50a495f13e1f581c55068fccda8698803eb (patch)
treed756dba1e6a466fe83ab1e4d89316641e1590397 /sc/source/core/tool/rangeutl.cxx
parent1932c3ce0c498afed30d28efc88d820dcb4553a2 (diff)
I forgot to increment the DB collection position.
This fixes infinite loops during pivot table layout dialog initialization.
Diffstat (limited to 'sc/source/core/tool/rangeutl.cxx')
-rw-r--r--sc/source/core/tool/rangeutl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx
index e2c715058f1d..3960de38b0c7 100644
--- a/sc/source/core/tool/rangeutl.cxx
+++ b/sc/source/core/tool/rangeutl.cxx
@@ -1091,6 +1091,7 @@ bool ScAreaNameIterator::Next( String& rName, ScRange& rRange )
if (pDBCollection && maDBPos != maDBEnd)
{
const ScDBData& rData = *maDBPos;
+ ++maDBPos;
rData.GetArea(rRange);
rName = rData.GetName();
return true; // gefunden