From 732d560a2e679a05ceffa6670536877fb32d9f52 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 26 Feb 2013 22:36:47 +0100 Subject: small performance improvement for fdo#61484 Change-Id: I5562f2c8669bee4a18f0411420ac31d2c5ed1947 --- sc/source/filter/excel/xicontent.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sc') diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx index 344cd85fb6e6..55779cb11b9b 100644 --- a/sc/source/filter/excel/xicontent.cxx +++ b/sc/source/filter/excel/xicontent.cxx @@ -638,6 +638,8 @@ void XclImpCondFormat::ReadCF( XclImpStream& rStrm ) { sal_uLong nKey = 0; mxScCondFmt.reset( new ScConditionalFormat( nKey, GetDocPtr() ) ); + if(maRanges.size() > 1) + maRanges.Join(*maRanges[0], true); mxScCondFmt->AddRange(maRanges); } -- cgit