[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Feb 14 21:31:40 PST 2011


 sc/source/core/data/table2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 07d5b8704c0b7030e2c30340053ec02cb04c2f4b
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue Feb 15 00:30:37 2011 -0500

    Use leaf-node search here as well, to avoid tree being re-built.

diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index bc4adfb..7648647 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -2574,7 +2574,7 @@ void ScTable::ShowRows(SCROW nRow1, SCROW nRow2, bool bShow)
     while (nStartRow <= nRow2)
     {
         SCROW nEndRow = -1;
-        bool bWasVis = !RowHidden(nStartRow, NULL, &nEndRow);
+        bool bWasVis = !RowHiddenLeaf(nStartRow, NULL, &nEndRow);
         if (nEndRow > nRow2)
             nEndRow = nRow2;
 


More information about the Libreoffice-commits mailing list