summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-26 22:36:47 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-26 22:41:43 +0100
commit732d560a2e679a05ceffa6670536877fb32d9f52 (patch)
treea0d15465e620be0299aec9382ad0782354b0d810
parentc91b8d3251e3a8ad14e1b143af182c937bf6e5cb (diff)
small performance improvement for fdo#61484
Change-Id: I5562f2c8669bee4a18f0411420ac31d2c5ed1947
-rw-r--r--sc/source/filter/excel/xicontent.cxx2
1 files changed, 2 insertions, 0 deletions
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);
}