[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Wed Jan 17 21:40:18 UTC 2018


 sc/source/filter/oox/formulabuffer.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit f96dbc3dd9c33202f75e29ef49d962386595995d
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Jan 17 22:39:04 2018 +0100

    CheckLinkFormulaNeedingCheck() for .xlsx cell formulas
    
    Change-Id: Ia6dd195f7eb4d43483e87eeca59f651e7bf2dcb8

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


More information about the Libreoffice-commits mailing list