sc/source/ui/view/viewfunc.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 77533d6ec1c7f0849db0c34b61d6583d7b3d0018 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 48c9a68..a290e02 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -90,9 +90,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