diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-26 23:32:10 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-26 23:32:10 -0400 |
commit | 8a59e50a495f13e1f581c55068fccda8698803eb (patch) | |
tree | d756dba1e6a466fe83ab1e4d89316641e1590397 | |
parent | 1932c3ce0c498afed30d28efc88d820dcb4553a2 (diff) |
I forgot to increment the DB collection position.
This fixes infinite loops during pivot table layout dialog
initialization.
-rw-r--r-- | sc/source/core/tool/rangeutl.cxx | 1 |
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 |