summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-01-25 20:59:39 +0100
committerEike Rathke <erack@redhat.com>2018-01-25 21:15:20 +0100
commitfef24d9f999ee54d7936900485d97ff26656f517 (patch)
treeaaf46fd949adad191e5f8e947d0a9349171208a8
parent061145e2172886f0bd8b33f16ede7c21dba6f3f6 (diff)
CheckLinkFormulaNeedingCheck() for .xlsx conditional format expressions
Change-Id: I31ede1a23223a798141a0891deeabd8cf88fff58
-rw-r--r--sc/source/filter/oox/condformatbuffer.cxx2
1 files changed, 2 insertions, 0 deletions
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);