CheckLinkFormulaNeedingCheck() for .xlsx named expressions

Change-Id: I217c89822ab477a6c383d170ae739e44efd10fa3
This commit is contained in:
Eike Rathke
2018-01-29 22:17:40 +01:00
parent e089258f6d
commit a1f933ee2b

View File

@@ -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);