[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Mon Jan 29 21:18:56 UTC 2018
sc/source/filter/oox/defnamesbuffer.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit a1f933ee2b9e23a505d937035821e9571cf4119c
Author: Eike Rathke <erack at redhat.com>
Date: Mon Jan 29 22:17:40 2018 +0100
CheckLinkFormulaNeedingCheck() for .xlsx named expressions
Change-Id: I217c89822ab477a6c383d170ae739e44efd10fa3
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);
More information about the Libreoffice-commits
mailing list