[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Dec 3 13:39:02 PST 2012


 sc/source/filter/excel/colrowst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 150270b097a0da7963460d568d8e599db623af2d
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Mon Dec 3 16:39:28 2012 -0500

    Oops I didn't mean to change this.
    
    SetRowHidden() is more light-weight than ShowRows(). Let's stick with
    SetRowHidden() here.
    
    Change-Id: Ieb83078b5546107a3ee2ea3b8b73df9627525abe

diff --git a/sc/source/filter/excel/colrowst.cxx b/sc/source/filter/excel/colrowst.cxx
index 5483324..9d8ac10 100644
--- a/sc/source/filter/excel/colrowst.cxx
+++ b/sc/source/filter/excel/colrowst.cxx
@@ -346,7 +346,7 @@ void XclImpColRowSettings::ConvertHiddenFlags( SCTAB nScTab )
         {
             if (bPrevHidden)
             {
-                rDoc.ShowRows(nPrevRow, nRow-1, nScTab, false);
+                rDoc.SetRowHidden(nPrevRow, nRow-1, nScTab, true);
                 // #i38093# rows hidden by filter need extra flag
                 if (nFirstFilterScRow <= nPrevRow && nPrevRow <= nLastFilterScRow)
                 {


More information about the Libreoffice-commits mailing list