summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-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);
}