[Libreoffice-commits] core.git: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Dec 3 14:31:47 UTC 2018
sc/source/core/tool/calcconfig.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 95ff92118d28af20e1b3a2e5f0d5f8c6f79fb2a8
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed Nov 28 10:26:50 2018 +0100
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Mon Dec 3 15:31:23 2018 +0100
simply abort if SC_FORCE_CALCULATION has unknown value
This is a debug tool and it's better to get it this way rather than
the code doing something else e.g. because of a typo.
Change-Id: I5ac7e7bd6ecaa15fe935d53df63e3c369e0f8f16
Reviewed-on: https://gerrit.libreoffice.org/64234
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
diff --git a/sc/source/core/tool/calcconfig.cxx b/sc/source/core/tool/calcconfig.cxx
index 5f40c60ad47e..4525df730484 100644
--- a/sc/source/core/tool/calcconfig.cxx
+++ b/sc/source/core/tool/calcconfig.cxx
@@ -59,7 +59,8 @@ static ForceCalculationType forceCalculationTypeInit()
SAL_INFO("sc.core.formulagroup", "Forcing calculations to use core");
return ForceCalculationCore;
}
- SAL_WARN("sc.core.formulagroup", "Unrecognized value of SC_TEST_CALCULATION");
+ SAL_WARN("sc.core.formulagroup", "Unrecognized value of SC_FORCE_CALCULATION");
+ abort();
}
return ForceCalculationNone;
}
More information about the Libreoffice-commits
mailing list