summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-02-13 18:08:28 +0100
committerEike Rathke <erack@redhat.com>2018-02-13 18:46:09 +0100
commitbcd62f2050336951ad56892d6e0a42f63c59a674 (patch)
treef5672b294fff17ce98678713631fbdd92e9fc43b /sc
parentd0a230db23410d68ed55f6518de242f83fe8d1bd (diff)
CheckLinkFormulaNeedingCheck() for ScDocumentImport::setFormulaCell()
Change-Id: I1587be914b390b2597185dd5af870d1d785010a4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/documentimport.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/documentimport.cxx b/sc/source/core/data/documentimport.cxx
index c86065b881ed..f53bca4cdaaf 100644
--- a/sc/source/core/data/documentimport.cxx
+++ b/sc/source/core/data/documentimport.cxx
@@ -285,6 +285,8 @@ void ScDocumentImport::setFormulaCell(
std::unique_ptr<ScFormulaCell> pFC =
o3tl::make_unique<ScFormulaCell>(&mpImpl->mrDoc, rPos, rFormula, eGrammar);
+ mpImpl->mrDoc.CheckLinkFormulaNeedingCheck( *pFC->GetCode());
+
if (pResult)
{
// Set cached result to this formula cell.