[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Mon Jan 29 22:56:03 UTC 2018
sc/source/core/data/documen8.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit e29565272c57c6cd09cb015c2e66bfe8a1f4d7d2
Author: Eike Rathke <erack at redhat.com>
Date: Mon Jan 29 23:51:46 2018 +0100
Revert "Let CheckLinkFormulaNeedingCheck() return early if found"
This reverts commit b124ce5d4dbaaba66e4f347964e97ebe788af4f5.
Short circuit in author's brain.
Change-Id: Iecd1d4f6a9f5ddb1251551e873f2c381973fc25b
diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
index 172d127cc517..eb58eb080213 100644
--- a/sc/source/core/data/documen8.cxx
+++ b/sc/source/core/data/documen8.cxx
@@ -1186,18 +1186,12 @@ void ScDocument::CheckLinkFormulaNeedingCheck( const ScTokenArray& rCode )
if (rCode.GetCodeLen())
{
if (rCode.HasOpCodeRPN(ocDde) || rCode.HasOpCodeRPN(ocWebservice))
- {
SetLinkFormulaNeedingCheck(true);
- return;
- }
}
else if (rCode.GetLen())
{
if (rCode.HasOpCode(ocDde) || rCode.HasOpCode(ocWebservice))
- {
SetLinkFormulaNeedingCheck(true);
- return;
- }
}
else
{
More information about the Libreoffice-commits
mailing list