[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Thu Jan 25 20:15:42 UTC 2018


 sc/source/filter/oox/condformatbuffer.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit fef24d9f999ee54d7936900485d97ff26656f517
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jan 25 20:59:39 2018 +0100

    CheckLinkFormulaNeedingCheck() for .xlsx conditional format expressions
    
    Change-Id: I31ede1a23223a798141a0891deeabd8cf88fff58

diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx
index 515e0422accc..3a46a3b28fa6 100644
--- a/sc/source/filter/oox/condformatbuffer.cxx
+++ b/sc/source/filter/oox/condformatbuffer.cxx
@@ -868,11 +868,13 @@ void CondFormatRule::finalizeImport()
         {
             pTokenArray2.reset(new ScTokenArray());
             ScTokenConversion::ConvertToTokenArray( rDoc, *pTokenArray2.get(), maModel.maFormulas[ 1 ] );
+            rDoc.CheckLinkFormulaNeedingCheck( *pTokenArray2.get());
         }
 
         ScTokenArray aTokenArray;
         OUString aStyleName = getStyles().createDxfStyle( maModel.mnDxfId );
         ScTokenConversion::ConvertToTokenArray( rDoc, aTokenArray, maModel.maFormulas[ 0 ] );
+        rDoc.CheckLinkFormulaNeedingCheck( aTokenArray);
         ScCondFormatEntry* pNewEntry = new ScCondFormatEntry(eOperator,
                                             &aTokenArray, pTokenArray2.get(), &rDoc, aPos, aStyleName);
         mpFormat->AddEntry(pNewEntry);


More information about the Libreoffice-commits mailing list