From 880773208305b15b521df58245367bc3001d2ce1 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 22 Sep 2012 01:34:38 +0200 Subject: set conditional format range for xls import, fdo#54555 Change-Id: I43d1834d28534fc0ec8cb406e1be7e9f48074da2 --- sc/source/filter/excel/xicontent.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx index 8597d9fb9bac..0d4319ae7226 100644 --- a/sc/source/filter/excel/xicontent.cxx +++ b/sc/source/filter/excel/xicontent.cxx @@ -636,6 +636,7 @@ void XclImpCondFormat::ReadCF( XclImpStream& rStrm ) { sal_uLong nKey = 0; mxScCondFmt.reset( new ScConditionalFormat( nKey, GetDocPtr() ) ); + mxScCondFmt->AddRange(maRanges); } ScCondFormatEntry* pEntry = new ScCondFormatEntry( eMode, xTokArr1.get(), pTokArr2.get(), GetDocPtr(), rPos, aStyleName ); -- cgit