summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-08-10 17:13:45 +0300
committerTor Lillqvist <tml@collabora.com>2017-08-11 17:16:28 +0300
commit244f60531260cf6e88e764b5c271d5c9183b5d1a (patch)
tree87b2ce51c670ce9e2fa438f99940c501d9557d50 /sc/inc
parentf75f116a22480023aefa50ce6ec637a7e6d6f2e8 (diff)
Add a unit test to be used to test parallelised calculations in Calc
Currently only tests SUMIFS. Yes, it would be nice if some of the already existing unit tests would work for this need, too. But there are various reasons wny not. Also, don't want to interfere in ongoing work by others. Change-Id: Ie9008a4a1a8c26eff4f2ab0bc91294b2239f0ae1
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/formulagroup.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx
index f51a592e0d60..a02157439448 100644
--- a/sc/inc/formulagroup.hxx
+++ b/sc/inc/formulagroup.hxx
@@ -138,6 +138,7 @@ public:
static bool switchOpenCLDevice(const OUString& rDeviceId, bool bAutoSelect, bool bForceEvaluation = false);
// This is intended to be called from opencl-test.cxx only
static void enableOpenCL_UnitTestsOnly();
+ static void disableOpenCL_UnitTestsOnly();
static void getOpenCLDeviceInfo(sal_Int32& rDeviceId, sal_Int32& rPlatformId);
#endif
virtual ScMatrixRef inverseMatrix(const ScMatrix& rMat) = 0;