sc/source/ui/view/viewfunc.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 4f6d6912e9916496a1a54cea6df10f7529dca378
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Mon Jun 25 02:46:32 2012 +0200

    pass the ScRangeList directly to improve performance, fdo#49764
    
    Change-Id: I1dde25739747a3481394c6a2c2d313128492ba8e

diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index c5d1006..a82485d 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -97,9 +97,7 @@ static void lcl_PostRepaintCondFormat( const 
ScConditionalFormat *pCondFmt, ScDo
     {
         const ScRangeList& rRanges = pCondFmt->GetRange();
 
-        size_t nCount = rRanges.size();
-        for( size_t n = 0 ; n < nCount; n++ )
-            pDocSh->PostPaint( *(rRanges[n]), PAINT_ALL );
+        pDocSh->PostPaint( rRanges, PAINT_ALL );
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to