summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-01-17 22:39:04 +0100
committerEike Rathke <erack@redhat.com>2018-01-17 22:39:18 +0100
commitf96dbc3dd9c33202f75e29ef49d962386595995d (patch)
treef27bbecf41be5f19eb847e2d88648074fac928ac
parent55e484c7bcd3ef218e08d3fd93f97bf98fd8cb7f (diff)
CheckLinkFormulaNeedingCheck() for .xlsx cell formulas
Change-Id: Ia6dd195f7eb4d43483e87eeca59f651e7bf2dcb8
-rw-r--r--sc/source/filter/oox/formulabuffer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index 053bb6a5b8ed..0e5a5f796be8 100644
--- a/sc/source/filter/oox/formulabuffer.cxx
+++ b/sc/source/filter/oox/formulabuffer.cxx
@@ -213,6 +213,10 @@ void applyCellFormulas(
continue;
aCompiler.CompileTokenArray(); // Generate RPN tokens.
+
+ // Check if ocDde/ocWebservice is in any formula for external links warning.
+ rDoc.getDoc().CheckLinkFormulaNeedingCheck(*pCode);
+
ScFormulaCell* pCell = new ScFormulaCell(&rDoc.getDoc(), aPos, pCode);
rDoc.setFormulaCell(aPos, pCell);
rCache.store(aPos, pCell);