summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-01-29 22:17:40 +0100
committerEike Rathke <erack@redhat.com>2018-01-29 22:18:34 +0100
commita1f933ee2b9e23a505d937035821e9571cf4119c (patch)
treee6432cebb05f6ba9e16b2b15b05a92db14a7c043
parente089258f6d7a270c574783c40808e18fb2d3b202 (diff)
CheckLinkFormulaNeedingCheck() for .xlsx named expressions
Change-Id: I217c89822ab477a6c383d170ae739e44efd10fa3
-rw-r--r--sc/source/filter/oox/defnamesbuffer.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx
index d7fb59ff934a..6f761b2c9b7c 100644
--- a/sc/source/filter/oox/defnamesbuffer.cxx
+++ b/sc/source/filter/oox/defnamesbuffer.cxx
@@ -39,6 +39,7 @@
#include <tokenarray.hxx>
#include <tokenuno.hxx>
#include <compiler.hxx>
+#include <document.hxx>
namespace oox {
namespace xls {
@@ -332,6 +333,7 @@ std::unique_ptr<ScTokenArray> DefinedName::getScTokens(
// after, a resulting error must be reset.
FormulaError nErr = pArray->GetCodeError();
aCompiler.CompileTokenArray();
+ getScDocument().CheckLinkFormulaNeedingCheck( *pArray);
pArray->DelRPN();
pArray->SetCodeError(nErr);