[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Sep 24 08:45:25 PDT 2012


 sc/source/filter/excel/xicontent.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4a3cd86f894334dcef9ab2edb59d167a77fbdf85
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Sep 22 01:34:38 2012 +0200

    set conditional format range for xls import, fdo#54555
    
    Change-Id: I43d1834d28534fc0ec8cb406e1be7e9f48074da2
    Signed-off-by: Kohei Yoshida <kohei.yoshida at gmail.com>

diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx
index a6bb268..72bb839 100644
--- a/sc/source/filter/excel/xicontent.cxx
+++ b/sc/source/filter/excel/xicontent.cxx
@@ -635,6 +635,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 );


More information about the Libreoffice-commits mailing list