[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Fri Aug 26 20:40:36 PDT 2011


 sc/source/core/tool/rangeutl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8a59e50a495f13e1f581c55068fccda8698803eb
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Fri Aug 26 23:32:10 2011 -0400

    I forgot to increment the DB collection position.
    
    This fixes infinite loops during pivot table layout dialog
    initialization.

diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx
index e2c7150..3960de3 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


More information about the Libreoffice-commits mailing list