sc/qa/unit/filters-test.cxx    |    6 
 sc/qa/unit/helper/qahelper.cxx |   29 --
 sc/qa/unit/helper/qahelper.hxx |    9 
 sc/qa/unit/opencl-test.cxx     |  464 ++++++++++++++++++++---------------------
 4 files changed, 242 insertions(+), 266 deletions(-)

New commits:
commit 9072d06f6507899aaaab5e6171b994a113f14214
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Nov 18 12:50:34 2022 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Nov 18 17:51:11 2022 +0100

    ScBootstrapFixture: simplify code a bit
    
    Change-Id: I856b0f332a91b570d583d6a4146c6ac353c5e672
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142937
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 31d8a9a1ef58..e539676f44a9 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -117,14 +117,12 @@ void ScFiltersTest::testTooManyColsRows()
 {
     // The intentionally doc has cells beyond our MAXROW/MAXCOL, so there
     // should be a warning on load.
-    ScDocShellRef xDocSh = loadDoc(u"too-many-cols-rows.", FORMAT_ODS, 
/*bReadWrite*/ false,
-                                   /*bCheckErrorCode*/ false);
+    ScDocShellRef xDocSh = loadDoc(u"too-many-cols-rows.", FORMAT_ODS, 
/*bCheckErrorCode*/ false);
     CPPUNIT_ASSERT(xDocSh->GetErrorCode() == SCWARN_IMPORT_ROW_OVERFLOW
                    || xDocSh->GetErrorCode() == SCWARN_IMPORT_COLUMN_OVERFLOW);
     xDocSh->DoClose();
 
-    xDocSh = loadDoc(u"too-many-cols-rows.", FORMAT_XLSX, /*bReadWrite*/ false,
-                     /*bCheckErrorCode*/ false);
+    xDocSh = loadDoc(u"too-many-cols-rows.", FORMAT_XLSX, /*bCheckErrorCode*/ 
false);
     CPPUNIT_ASSERT(xDocSh->GetErrorCode() == SCWARN_IMPORT_ROW_OVERFLOW
                    || xDocSh->GetErrorCode() == SCWARN_IMPORT_COLUMN_OVERFLOW);
     xDocSh->DoClose();
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index 25abd86a64e7..3cfadc926ff1 100644
--- a/sc/qa/unit/helper/qahelper.cxx
+++ b/sc/qa/unit/helper/qahelper.cxx
@@ -592,7 +592,7 @@ OUString toString(
     return aBuf.makeStringAndClear();
 }
 
-ScDocShellRef ScBootstrapFixture::load( bool bReadWrite,
+ScDocShellRef ScBootstrapFixture::load(
     const OUString& rURL, const OUString& rFilter, const OUString &rUserData,
     const OUString& rTypeName, SfxFilterFlags nFilterFlags, 
SotClipboardFormatId nClipboardID,
      sal_Int32 nFilterVersion, const OUString* pPassword )
@@ -605,7 +605,7 @@ ScDocShellRef ScBootstrapFixture::load( bool bReadWrite,
 
     ScDocShellRef xDocShRef = new ScDocShell;
     xDocShRef->GetDocument().EnableUserInteraction(false);
-    SfxMedium* pSrcMed = new SfxMedium(rURL, bReadWrite ? 
StreamMode::STD_READWRITE : StreamMode::STD_READ );
+    SfxMedium* pSrcMed = new SfxMedium(rURL, StreamMode::STD_READ );
     pSrcMed->SetFilter(pFilter);
     pSrcMed->UseInteractionHandler(false);
     SfxItemSet* pSet = pSrcMed->GetItemSet();
@@ -625,16 +625,13 @@ ScDocShellRef ScBootstrapFixture::load( bool bReadWrite,
     return xDocShRef;
 }
 
-ScDocShellRef ScBootstrapFixture::load(
-    const OUString& rURL, const OUString& rFilter, const OUString &rUserData,
-    const OUString& rTypeName, SfxFilterFlags nFilterFlags, 
SotClipboardFormatId nClipboardID,
-    sal_Int32 nFilterVersion, const OUString* pPassword )
+ScDocShellRef ScBootstrapFixture::loadDoc(
+    std::u16string_view rFileName, sal_Int32 nFormat, bool bCheckErrorCode )
 {
-    return load( false, rURL, rFilter, rUserData, rTypeName, nFilterFlags, 
nClipboardID,  nFilterVersion, pPassword );
-}
+    OUString aFileExtension = OUString::fromUtf8(aFileFormats[nFormat].pName);
+    OUString aFileName;
+    createFileURL( rFileName, aFileExtension, aFileName );
 
-ScDocShellRef ScBootstrapFixture::load(const OUString& rURL, sal_Int32 
nFormat, bool bReadWrite)
-{
     OUString aFilterName(aFileFormats[nFormat].pFilterName, 
strlen(aFileFormats[nFormat].pFilterName), RTL_TEXTENCODING_UTF8) ;
     OUString aFilterType(aFileFormats[nFormat].pTypeName, 
strlen(aFileFormats[nFormat].pTypeName), RTL_TEXTENCODING_UTF8);
     SfxFilterFlags nFormatType = aFileFormats[nFormat].nFormatType;
@@ -642,17 +639,7 @@ ScDocShellRef ScBootstrapFixture::load(const OUString& 
rURL, sal_Int32 nFormat,
     if (nFormatType != SfxFilterFlags::NONE)
         nClipboardId = SotClipboardFormatId::STARCALC_8;
 
-    return load(bReadWrite, rURL, aFilterName, OUString(), aFilterType, 
nFormatType, nClipboardId, static_cast<sal_uIntPtr>(nFormatType));
-}
-
-ScDocShellRef ScBootstrapFixture::loadDoc(
-    std::u16string_view rFileName, sal_Int32 nFormat, bool bReadWrite, bool 
bCheckErrorCode )
-{
-    OUString aFileExtension = OUString::fromUtf8(aFileFormats[nFormat].pName);
-    OUString aFileName;
-    createFileURL( rFileName, aFileExtension, aFileName );
-
-    ScDocShellRef xDocShRef = load(aFileName, nFormat, bReadWrite);
+    ScDocShellRef xDocShRef = load(aFileName, aFilterName, OUString(), 
aFilterType, nFormatType, nClipboardId, static_cast<sal_uIntPtr>(nFormatType));
     CPPUNIT_ASSERT_MESSAGE(OString("Failed to load " + 
OUStringToOString(rFileName, RTL_TEXTENCODING_UTF8)).getStr(), xDocShRef.is());
 
     if (bCheckErrorCode)
diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx
index d036bed19579..0b16869879b3 100644
--- a/sc/qa/unit/helper/qahelper.hxx
+++ b/sc/qa/unit/helper/qahelper.hxx
@@ -170,20 +170,13 @@ class SCQAHELPER_DLLPUBLIC ScBootstrapFixture : public 
test::BootstrapFixture
 protected:
     OUString m_aBaseString;
 
-    ScDocShellRef load(
-        bool bReadWrite, const OUString& rURL, const OUString& rFilter, const 
OUString &rUserData,
-        const OUString& rTypeName, SfxFilterFlags nFilterFlags, 
SotClipboardFormatId nClipboardID,
-        sal_Int32 nFilterVersion = SOFFICE_FILEFORMAT_CURRENT, const OUString* 
pPassword = nullptr );
-
     ScDocShellRef load(
         const OUString& rURL, const OUString& rFilter, const OUString 
&rUserData,
         const OUString& rTypeName, SfxFilterFlags nFilterFlags, 
SotClipboardFormatId nClipboardID,
         sal_Int32 nFilterVersion = SOFFICE_FILEFORMAT_CURRENT, const OUString* 
pPassword = nullptr );
 
-    ScDocShellRef load(const OUString& rURL, sal_Int32 nFormat, bool 
bReadWrite = false);
-
     ScDocShellRef loadDoc(
-        std::u16string_view rFileName, sal_Int32 nFormat, bool bReadWrite = 
false, bool bCheckErrorCode = true );
+        std::u16string_view rFileName, sal_Int32 nFormat, bool bCheckErrorCode 
= true );
 
 private:
     // reference to document interface that we are testing
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index c1c1c537619a..b201e8c4cd0a 100644
--- a/sc/qa/unit/opencl-test.cxx
+++ b/sc/qa/unit/opencl-test.cxx
@@ -506,20 +506,18 @@ private:
     // Test env variables and methods
     ScDocShellRef xDocSh;
     ScDocShellRef xDocShRes;
-    bool initTestEnv(std::u16string_view fileName, sal_Int32 nFormat,
-              bool bReadWrite);
+    bool initTestEnv(std::u16string_view fileName, sal_Int32 nFormat);
 };
 
-bool ScOpenCLTest::initTestEnv(std::u16string_view fileName, sal_Int32 nFormat,
-    bool bReadWrite)
+bool ScOpenCLTest::initTestEnv(std::u16string_view fileName, sal_Int32 nFormat)
 {
     if(!detectOpenCLDevice())
         return false;
 
-    xDocSh = loadDoc(fileName, nFormat, bReadWrite);
+    xDocSh = loadDoc(fileName, nFormat);
     enableOpenCL();
 
-    xDocShRes = loadDoc(fileName, nFormat, bReadWrite);
+    xDocShRes = loadDoc(fileName, nFormat);
 
     return true;
 }
@@ -542,7 +540,7 @@ void ScOpenCLTest::disableOpenCL()
 
 void ScOpenCLTest::testCompilerHorizontal()
 {
-    if(!initTestEnv(u"opencl/compiler/horizontal.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/compiler/horizontal.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -565,7 +563,7 @@ void ScOpenCLTest::testCompilerHorizontal()
 
 void ScOpenCLTest::testCompilerNested()
 {
-    if(!initTestEnv(u"opencl/compiler/nested.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/compiler/nested.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -582,7 +580,7 @@ void ScOpenCLTest::testCompilerNested()
 
 void ScOpenCLTest::testCompilerString()
 {
-    if(!initTestEnv(u"opencl/compiler/string.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/compiler/string.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -603,7 +601,7 @@ void ScOpenCLTest::testCompilerString()
 
 void ScOpenCLTest::testCompilerInEq()
 {
-    if(!initTestEnv(u"opencl/compiler/ineq.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/compiler/ineq.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -620,7 +618,7 @@ void ScOpenCLTest::testCompilerInEq()
 
 void ScOpenCLTest::testCompilerPrecision()
 {
-    if(!initTestEnv(u"opencl/compiler/precision.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/compiler/precision.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -642,7 +640,7 @@ void ScOpenCLTest::testCompilerPrecision()
 #if 0
 void ScOpenCLTest::testSharedFormulaXLSStockHistory()
 {
-    if(!initTestEnv("stock-history.", FORMAT_XLS, false))
+    if(!initTestEnv("stock-history.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -666,7 +664,7 @@ void ScOpenCLTest::testSharedFormulaXLSStockHistory()
 
 void ScOpenCLTest::testSharedFormulaXLSGroundWater()
 {
-    if(!initTestEnv("ground-water-daily.", FORMAT_XLS, false))
+    if(!initTestEnv("ground-water-daily.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -686,7 +684,7 @@ void ScOpenCLTest::testSharedFormulaXLSGroundWater()
 
 void ScOpenCLTest::testSystematic()
 {
-    if(!initTestEnv(u"systematic.", FORMAT_XLS, false))
+    if(!initTestEnv(u"systematic.", FORMAT_XLS))
         return;
 
     ScDocument& rDoc = xDocSh->GetDocument();
@@ -778,7 +776,7 @@ void ScOpenCLTest::testSystematic()
 
 void ScOpenCLTest::testSharedFormulaXLS()
 {
-    if(!initTestEnv(u"sum_ex.", FORMAT_XLS, false))
+    if(!initTestEnv(u"sum_ex.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -867,7 +865,7 @@ void ScOpenCLTest::testSharedFormulaXLS()
 
 void ScOpenCLTest::testMathFormulaCos()
 {
-    if(!initTestEnv(u"opencl/math/cos.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/cos.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -883,7 +881,7 @@ void ScOpenCLTest::testMathFormulaCos()
 
 void ScOpenCLTest::testMathFormulaSinh()
 {
-    if(!initTestEnv(u"opencl/math/sinh.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/sinh.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -899,7 +897,7 @@ void ScOpenCLTest::testMathFormulaSinh()
 
 void ScOpenCLTest::testMathFormulaPi()
 {
-    if(!initTestEnv(u"opencl/math/pi.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/pi.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -915,7 +913,7 @@ void ScOpenCLTest::testMathFormulaPi()
 
 void ScOpenCLTest::testMathFormulaRandom()
 {
-    if(!initTestEnv(u"opencl/math/random.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/random.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -931,7 +929,7 @@ void ScOpenCLTest::testMathFormulaRandom()
 }
 void ScOpenCLTest::testFinacialFormula()
 {
-    if(!initTestEnv(u"opencl/financial/general.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/general.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1081,7 +1079,7 @@ void ScOpenCLTest::testFinacialFormula()
 
 void ScOpenCLTest::testStatisticalFormulaCorrel()
 {
-    if(!initTestEnv(u"opencl/statistical/Correl.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/statistical/Correl.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1097,7 +1095,7 @@ void ScOpenCLTest::testStatisticalFormulaCorrel()
 }
 void ScOpenCLTest::testStatisticalFormulaFisher()
 {
-    if(!initTestEnv(u"opencl/statistical/Fisher.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Fisher.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1114,7 +1112,7 @@ void ScOpenCLTest::testStatisticalFormulaFisher()
 
 void ScOpenCLTest::testStatisticalFormulaFisherInv()
 {
-    if(!initTestEnv(u"opencl/statistical/FisherInv.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/FisherInv.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1131,7 +1129,7 @@ void ScOpenCLTest::testStatisticalFormulaFisherInv()
 
 void ScOpenCLTest::testStatisticalFormulaGamma()
 {
-    if(!initTestEnv(u"opencl/statistical/Gamma.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Gamma.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1148,7 +1146,7 @@ void ScOpenCLTest::testStatisticalFormulaGamma()
 
 void ScOpenCLTest::testFinacialFvscheduleFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Fvschedule.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Fvschedule.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1164,7 +1162,7 @@ void ScOpenCLTest::testFinacialFvscheduleFormula()
 
 void ScOpenCLTest::testMathFormulaAbs()
 {
-    if(!initTestEnv(u"opencl/math/Abs.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/Abs.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1181,7 +1179,7 @@ void ScOpenCLTest::testMathFormulaAbs()
 
 void ScOpenCLTest::testFinacialSYDFormula()
 {
-    if(!initTestEnv(u"opencl/financial/SYD.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/SYD.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1199,7 +1197,7 @@ void ScOpenCLTest::testFinacialSYDFormula()
 #if !defined MACOSX
 void ScOpenCLTest::testFinacialIRRFormula()
 {
-    if(!initTestEnv(u"opencl/financial/IRR.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/IRR.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1216,7 +1214,7 @@ void ScOpenCLTest::testFinacialIRRFormula()
 
 void ScOpenCLTest::testStatisticalFormulaGammaLn()
 {
-    if(!initTestEnv(u"opencl/statistical/GammaLn.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/GammaLn.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1233,7 +1231,7 @@ void ScOpenCLTest::testStatisticalFormulaGammaLn()
 
 void ScOpenCLTest::testStatisticalFormulaGauss()
 {
-    if(!initTestEnv(u"opencl/statistical/Gauss.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Gauss.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1250,7 +1248,7 @@ void ScOpenCLTest::testStatisticalFormulaGauss()
 
 void ScOpenCLTest::testStatisticalFormulaGeoMean()
 {
-    if(!initTestEnv(u"opencl/statistical/GeoMean.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/GeoMean.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1267,7 +1265,7 @@ void ScOpenCLTest::testStatisticalFormulaGeoMean()
 
 void ScOpenCLTest::testStatisticalFormulaHarMean()
 {
-    if(!initTestEnv(u"opencl/statistical/HarMean.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/HarMean.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1284,7 +1282,7 @@ void ScOpenCLTest::testStatisticalFormulaHarMean()
 
 void ScOpenCLTest::testFinacialSLNFormula()
 {
-    if(!initTestEnv(u"opencl/financial/SLN.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/SLN.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1300,7 +1298,7 @@ void ScOpenCLTest::testFinacialSLNFormula()
 
 void ScOpenCLTest::testFinacialMIRRFormula()
 {
-    if(!initTestEnv(u"opencl/financial/MIRR.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/MIRR.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1316,7 +1314,7 @@ void ScOpenCLTest::testFinacialMIRRFormula()
 
 void ScOpenCLTest::testFinancialCoupdaybsFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Coupdaybs.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Coupdaybs.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1332,7 +1330,7 @@ void ScOpenCLTest::testFinancialCoupdaybsFormula()
 
 void ScOpenCLTest::testFinacialDollardeFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Dollarde.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Dollarde.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1348,7 +1346,7 @@ void ScOpenCLTest::testFinacialDollardeFormula()
 
 void ScOpenCLTest::testFinancialCoupdaysFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Coupdays.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Coupdays.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1365,7 +1363,7 @@ void ScOpenCLTest::testFinancialCoupdaysFormula()
 
 void ScOpenCLTest::testFinancialCoupdaysncFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Coupdaysnc.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Coupdaysnc.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1380,7 +1378,7 @@ void ScOpenCLTest::testFinancialCoupdaysncFormula()
 }
 void ScOpenCLTest::testFinacialRateFormula()
 {
-    if(!initTestEnv(u"opencl/financial/RATE.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/RATE.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1396,7 +1394,7 @@ void ScOpenCLTest::testFinacialRateFormula()
 
 void ScOpenCLTest::testFinancialAccrintmFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Accrintm.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Accrintm.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1412,7 +1410,7 @@ void ScOpenCLTest::testFinancialAccrintmFormula()
 
 void ScOpenCLTest::testFinancialCoupnumFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Coupnum.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Coupnum.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1428,7 +1426,7 @@ void ScOpenCLTest::testFinancialCoupnumFormula()
 
 void ScOpenCLTest::testStatisticalFormulaNegbinomdist()
 {
-    if(!initTestEnv(u"opencl/statistical/Negbinomdist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Negbinomdist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1445,7 +1443,7 @@ void ScOpenCLTest::testStatisticalFormulaNegbinomdist()
 
 void ScOpenCLTest::testMathFormulaSin()
 {
-    if(!initTestEnv(u"opencl/math/sin.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/sin.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1461,7 +1459,7 @@ void ScOpenCLTest::testMathFormulaSin()
 
 void ScOpenCLTest::testMathFormulaSumSQ()
 {
-    if(!initTestEnv(u"opencl/math/sumsq.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/sumsq.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1477,7 +1475,7 @@ void ScOpenCLTest::testMathFormulaSumSQ()
 
 void ScOpenCLTest::testMathFormulaTan()
 {
-    if(!initTestEnv(u"opencl/math/tan.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/tan.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1493,7 +1491,7 @@ void ScOpenCLTest::testMathFormulaTan()
 
 void ScOpenCLTest::testMathFormulaTanH()
 {
-    if(!initTestEnv(u"opencl/math/tanh.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/tanh.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1509,7 +1507,7 @@ void ScOpenCLTest::testMathFormulaTanH()
 
 void ScOpenCLTest::testMathFormulaSqrt()
 {
-    if(!initTestEnv(u"opencl/math/sqrt.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/sqrt.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1525,7 +1523,7 @@ void ScOpenCLTest::testMathFormulaSqrt()
 
 void ScOpenCLTest::testFinacialPriceFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Price.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Price.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1541,7 +1539,7 @@ void ScOpenCLTest::testFinacialPriceFormula()
 
 void ScOpenCLTest::testFinacialDollarfrFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Dollarfr.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Dollarfr.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1557,7 +1555,7 @@ void ScOpenCLTest::testFinacialDollarfrFormula()
 
 void ScOpenCLTest::testFinacialPriceDiscFormula()
 {
-    if(!initTestEnv(u"opencl/financial/PriceDisc.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/PriceDisc.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1573,7 +1571,7 @@ void ScOpenCLTest::testFinacialPriceDiscFormula()
 
 void ScOpenCLTest::testFinacialODDLPRICEFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Oddlprice.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Oddlprice.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1589,7 +1587,7 @@ void ScOpenCLTest::testFinacialODDLPRICEFormula()
 
 void ScOpenCLTest:: testFinacialOddlyieldFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Oddlyield.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Oddlyield.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1605,7 +1603,7 @@ void ScOpenCLTest:: testFinacialOddlyieldFormula()
 
 void ScOpenCLTest::testFinacialDISCFormula()
 {
-    if(!initTestEnv(u"opencl/financial/DISC.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/DISC.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1621,7 +1619,7 @@ void ScOpenCLTest::testFinacialDISCFormula()
 
 void ScOpenCLTest:: testFinacialPVFormula()
 {
-    if(!initTestEnv(u"opencl/financial/PV.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/PV.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1637,7 +1635,7 @@ void ScOpenCLTest:: testFinacialPVFormula()
 
 void ScOpenCLTest::testFinacialINTRATEFormula()
 {
-    if(!initTestEnv(u"opencl/financial/INTRATE.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/INTRATE.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1653,7 +1651,7 @@ void ScOpenCLTest::testFinacialINTRATEFormula()
 
 void ScOpenCLTest::testStatisticalFormulaStandard()
 {
-    if(!initTestEnv(u"opencl/statistical/Standard.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Standard.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1670,7 +1668,7 @@ void ScOpenCLTest::testStatisticalFormulaStandard()
 
 void ScOpenCLTest::testStatisticalFormulaWeibull()
 {
-    if(!initTestEnv(u"opencl/statistical/Weibull.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Weibull.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1688,7 +1686,7 @@ void ScOpenCLTest::testStatisticalFormulaWeibull()
 
 void ScOpenCLTest::testStatisticalFormulaVar()
 {
-    if(!initTestEnv(u"opencl/statistical/Var.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Var.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1705,7 +1703,7 @@ void ScOpenCLTest::testStatisticalFormulaVar()
 
 void ScOpenCLTest::testStatisticalFormulaSkew()
 {
-    if(!initTestEnv(u"opencl/statistical/Skew.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Skew.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1722,7 +1720,7 @@ void ScOpenCLTest::testStatisticalFormulaSkew()
 
 void ScOpenCLTest::testStatisticalFormulaSkewp()
 {
-    if(!initTestEnv(u"opencl/statistical/Skewp.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Skewp.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1739,7 +1737,7 @@ void ScOpenCLTest::testStatisticalFormulaSkewp()
 
 void ScOpenCLTest::testStatisticalFormulaPearson()
 {
-    if(!initTestEnv(u"opencl/statistical/Pearson.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Pearson.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1756,7 +1754,7 @@ void ScOpenCLTest::testStatisticalFormulaPearson()
 
 void ScOpenCLTest::testStatisticalFormulaRsq()
 {
-    if(!initTestEnv(u"opencl/statistical/Rsq.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Rsq.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1773,7 +1771,7 @@ void ScOpenCLTest::testStatisticalFormulaRsq()
 
 void ScOpenCLTest::testMathFormulaTrunc()
 {
-    if(!initTestEnv(u"opencl/math/trunc.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/trunc.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1789,7 +1787,7 @@ void ScOpenCLTest::testMathFormulaTrunc()
 
 void ScOpenCLTest::testMathFormulaCosh()
 {
-    if(!initTestEnv(u"opencl/math/cosh.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/cosh.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1804,7 +1802,7 @@ void ScOpenCLTest::testMathFormulaCosh()
 }
 void ScOpenCLTest::testStatisticalFormulaCovar()
 {
-    if(!initTestEnv(u"opencl/statistical/Covar.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Covar.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1821,7 +1819,7 @@ void ScOpenCLTest::testStatisticalFormulaCovar()
 
 void ScOpenCLTest::testStatisticalFormulaKurt()
 {
-    if(!initTestEnv(u"opencl/statistical/Kurt.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Kurt.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1838,7 +1836,7 @@ void ScOpenCLTest::testStatisticalFormulaKurt()
 
 void ScOpenCLTest::testMathFormulaCot()
 {
-    if(!initTestEnv(u"opencl/math/cot.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/cot.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1854,7 +1852,7 @@ void ScOpenCLTest::testMathFormulaCot()
 
 void ScOpenCLTest::testStatisticalFormulaDevSq()
 {
-    if(!initTestEnv(u"opencl/statistical/DevSq.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/DevSq.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1871,7 +1869,7 @@ void ScOpenCLTest::testStatisticalFormulaDevSq()
 
 void ScOpenCLTest::testMathFormulaCsc()
 {
-    if(!initTestEnv(u"opencl/math/csc.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/csc.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1887,7 +1885,7 @@ void ScOpenCLTest::testMathFormulaCsc()
 
 void ScOpenCLTest::testMathFormulaCoth()
 {
-    if(!initTestEnv(u"opencl/math/coth.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/coth.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1903,7 +1901,7 @@ void ScOpenCLTest::testMathFormulaCoth()
 
 void ScOpenCLTest::testFinacialXNPVFormula()
 {
-    if(!initTestEnv(u"opencl/financial/XNPV.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/XNPV.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1926,7 +1924,7 @@ void ScOpenCLTest::testFinacialXNPVFormula()
 
 void ScOpenCLTest::testStatisticalFormulaIntercept()
 {
-    if(!initTestEnv(u"opencl/statistical/Intercept.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Intercept.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1942,7 +1940,7 @@ void ScOpenCLTest::testStatisticalFormulaIntercept()
 
 void ScOpenCLTest::testFinancialAmordegrcFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Amordegrc.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Amordegrc.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1958,7 +1956,7 @@ void ScOpenCLTest::testFinancialAmordegrcFormula()
 
 void ScOpenCLTest:: testFinancialISPMTFormula()
 {
-    if(!initTestEnv(u"opencl/financial/ISPMT.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/ISPMT.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1974,7 +1972,7 @@ void ScOpenCLTest:: testFinancialISPMTFormula()
 
 void ScOpenCLTest::testStatisticalFormulaMedian()
 {
-    if(!initTestEnv(u"opencl/statistical/Median.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Median.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -1991,7 +1989,7 @@ void ScOpenCLTest::testStatisticalFormulaMedian()
 
 void ScOpenCLTest::testStatisticalFormulaNormdist()
 {
-    if(!initTestEnv(u"opencl/statistical/Normdist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Normdist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2008,7 +2006,7 @@ void ScOpenCLTest::testStatisticalFormulaNormdist()
 
 void ScOpenCLTest::testStatisticalFormulaNormsdist()
 {
-    if(!initTestEnv(u"opencl/statistical/Normsdist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Normsdist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2025,7 +2023,7 @@ void ScOpenCLTest::testStatisticalFormulaNormsdist()
 
 void ScOpenCLTest::testStatisticalFormulaPermut()
 {
-    if(!initTestEnv(u"opencl/statistical/Permut.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Permut.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2042,7 +2040,7 @@ void ScOpenCLTest::testStatisticalFormulaPermut()
 
 void ScOpenCLTest::testStatisticalFormulaPermutation()
 {
-    if(!initTestEnv(u"opencl/statistical/Permutation.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Permutation.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2059,7 +2057,7 @@ void ScOpenCLTest::testStatisticalFormulaPermutation()
 
 void ScOpenCLTest::testStatisticalFormulaPhi()
 {
-    if(!initTestEnv(u"opencl/statistical/Phi.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Phi.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2076,7 +2074,7 @@ void ScOpenCLTest::testStatisticalFormulaPhi()
 
 void ScOpenCLTest::testMathFormulaCscH()
 {
-    if(!initTestEnv(u"opencl/math/csch.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/csch.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2092,7 +2090,7 @@ void ScOpenCLTest::testMathFormulaCscH()
 
 void ScOpenCLTest::testStatisticalFormulaLogInv()
 {
-    if(!initTestEnv(u"opencl/statistical/LogInv.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/LogInv.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2109,7 +2107,7 @@ void ScOpenCLTest::testStatisticalFormulaLogInv()
 
 void ScOpenCLTest::testFinacialNPERFormula()
 {
-    if(!initTestEnv(u"opencl/financial/NPER.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/NPER.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2125,7 +2123,7 @@ void ScOpenCLTest::testFinacialNPERFormula()
 
 void ScOpenCLTest::testStatisticalFormulaForecast()
 {
-    if(!initTestEnv(u"opencl/statistical/Forecast.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Forecast.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2142,7 +2140,7 @@ void ScOpenCLTest::testStatisticalFormulaForecast()
 
 void ScOpenCLTest::testFinancialAmorlincFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Amorlinc.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Amorlinc.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2158,7 +2156,7 @@ void ScOpenCLTest::testFinancialAmorlincFormula()
 
 void ScOpenCLTest::testFinancialDDBFormula()
 {
-    if(!initTestEnv(u"opencl/financial/ddb.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/ddb.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2173,7 +2171,7 @@ void ScOpenCLTest::testFinancialDDBFormula()
 }
 void ScOpenCLTest::testFinacialPriceMatFormula()
 {
-    if(!initTestEnv(u"opencl/financial/PriceMat.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/PriceMat.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2188,7 +2186,7 @@ void ScOpenCLTest::testFinacialPriceMatFormula()
 }
 void ScOpenCLTest::testFinacialFormulaReceived()
 {
-    if(!initTestEnv(u"opencl/financial/Received.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Received.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2204,7 +2202,7 @@ void ScOpenCLTest::testFinacialFormulaReceived()
 }
 void ScOpenCLTest::testFinancialFormulaCumipmt()
 {
-    if(!initTestEnv(u"opencl/financial/Cumipmt.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Cumipmt.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2220,7 +2218,7 @@ void ScOpenCLTest::testFinancialFormulaCumipmt()
 }
 void ScOpenCLTest::testFinancialFormulaCumprinc()
 {
-    if(!initTestEnv(u"opencl/financial/Cumprinc.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Cumprinc.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2236,7 +2234,7 @@ void ScOpenCLTest::testFinancialFormulaCumprinc()
 }
 void ScOpenCLTest::testFinacialRRIFormula()
 {
-    if(!initTestEnv(u"opencl/financial/RRI.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/RRI.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2251,7 +2249,7 @@ void ScOpenCLTest::testFinacialRRIFormula()
 }
 void ScOpenCLTest::testFinacialEFFECT_ADDFormula()
 {
-    if(!initTestEnv(u"opencl/financial/EFFECT_ADD.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/EFFECT_ADD.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2266,7 +2264,7 @@ void ScOpenCLTest::testFinacialEFFECT_ADDFormula()
 }
 void ScOpenCLTest::testFinacialNominalFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Nominal.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Nominal.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2283,7 +2281,7 @@ void ScOpenCLTest::testFinacialNominalFormula()
 }
 void ScOpenCLTest::testFinacialTBILLEQFormula()
 {
-    if(!initTestEnv(u"opencl/financial/TBILLEQ.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/TBILLEQ.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2298,7 +2296,7 @@ void ScOpenCLTest::testFinacialTBILLEQFormula()
 }
 void ScOpenCLTest::testFinacialTBILLPRICEFormula()
 {
-    if(!initTestEnv(u"opencl/financial/TBILLPRICE.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/TBILLPRICE.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2313,7 +2311,7 @@ void ScOpenCLTest::testFinacialTBILLPRICEFormula()
 }
 void ScOpenCLTest::testFinacialTBILLYIELDFormula()
 {
-    if(!initTestEnv(u"opencl/financial/TBILLYIELD.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/TBILLYIELD.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2328,7 +2326,7 @@ void ScOpenCLTest::testFinacialTBILLYIELDFormula()
 }
 void ScOpenCLTest::testFinacialYIELDFormula()
 {
-    if(!initTestEnv(u"opencl/financial/YIELD.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/YIELD.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2344,7 +2342,7 @@ void ScOpenCLTest::testFinacialYIELDFormula()
 
 void ScOpenCLTest::testFinacialYIELDDISCFormula()
 {
-    if(!initTestEnv(u"opencl/financial/YIELDDISC.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/YIELDDISC.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2360,7 +2358,7 @@ void ScOpenCLTest::testFinacialYIELDDISCFormula()
 
 void ScOpenCLTest::testFinacialYIELDMATFormula()
 {
-    if(!initTestEnv(u"opencl/financial/YIELDMAT.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/YIELDMAT.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2375,7 +2373,7 @@ void ScOpenCLTest::testFinacialYIELDMATFormula()
 }
 void ScOpenCLTest:: testFinacialPMTFormula()
 {
-    if(!initTestEnv(u"opencl/financial/PMT.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/PMT.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2391,7 +2389,7 @@ void ScOpenCLTest:: testFinacialPMTFormula()
 
 void ScOpenCLTest:: testFinancialDurationFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Duration.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/financial/Duration.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2407,7 +2405,7 @@ void ScOpenCLTest:: testFinancialDurationFormula()
 
 void ScOpenCLTest::testStatisticalFormulaLogNormDist()
 {
-    if(!initTestEnv(u"opencl/statistical/LogNormDist.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/statistical/LogNormDist.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2424,7 +2422,7 @@ void ScOpenCLTest::testStatisticalFormulaLogNormDist()
 
 void ScOpenCLTest::testMathFormulaArcCos()
 {
-    if(!initTestEnv(u"opencl/math/ArcCos.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/ArcCos.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2441,7 +2439,7 @@ void ScOpenCLTest::testMathFormulaArcCos()
 
 void ScOpenCLTest::testMathFormulaPower()
 {
-    if(!initTestEnv(u"opencl/math/power.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/power.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2457,7 +2455,7 @@ void ScOpenCLTest::testMathFormulaPower()
 
 void ScOpenCLTest:: testFinacialPPMTFormula()
 {
-    if(!initTestEnv(u"opencl/financial/PPMT.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/PPMT.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2473,7 +2471,7 @@ void ScOpenCLTest:: testFinacialPPMTFormula()
 
 void ScOpenCLTest:: testFinacialNPVFormula()
 {
-    if(!initTestEnv(u"opencl/financial/NPV.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/NPV.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2489,7 +2487,7 @@ void ScOpenCLTest:: testFinacialNPVFormula()
 
 void ScOpenCLTest:: testFinancialDuration_ADDFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Duration_ADD.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Duration_ADD.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2505,7 +2503,7 @@ void ScOpenCLTest:: testFinancialDuration_ADDFormula()
 
 void ScOpenCLTest::testStatisticalFormulaNorminv()
 {
-    if(!initTestEnv(u"opencl/statistical/Norminv.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Norminv.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2522,7 +2520,7 @@ void ScOpenCLTest::testStatisticalFormulaNorminv()
 
 void ScOpenCLTest::testStatisticalFormulaNormsinv()
 {
-    if(!initTestEnv(u"opencl/statistical/Normsinv.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Normsinv.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2539,7 +2537,7 @@ void ScOpenCLTest::testStatisticalFormulaNormsinv()
 
 void ScOpenCLTest::testMathFormulaArcCosHyp()
 {
-    if(!initTestEnv(u"opencl/math/ArcCosHyp.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/ArcCosHyp.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2556,7 +2554,7 @@ void ScOpenCLTest::testMathFormulaArcCosHyp()
 
 void ScOpenCLTest:: testFinancialMDurationFormula()
 {
-    if(!initTestEnv(u"opencl/financial/MDuration.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/MDuration.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2572,7 +2570,7 @@ void ScOpenCLTest:: testFinancialMDurationFormula()
 
 void ScOpenCLTest::testMathFormulaArcCot()
 {
-    if(!initTestEnv(u"opencl/math/ArcCot.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/ArcCot.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2589,7 +2587,7 @@ void ScOpenCLTest::testMathFormulaArcCot()
 
 void ScOpenCLTest:: testFinancialFVFormula()
 {
-    if(!initTestEnv(u"opencl/financial/FV.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/FV.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2605,7 +2603,7 @@ void ScOpenCLTest:: testFinancialFVFormula()
 
 void ScOpenCLTest::testFinancialDBFormula()
 {
-    if(!initTestEnv(u"opencl/financial/db.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/db.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2621,7 +2619,7 @@ void ScOpenCLTest::testFinancialDBFormula()
 
 void ScOpenCLTest::testFinancialCouppcdFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Couppcd.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Couppcd.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2637,7 +2635,7 @@ void ScOpenCLTest::testFinancialCouppcdFormula()
 
 void ScOpenCLTest::testMathSumIfsFormula()
 {
-    if(!initTestEnv(u"opencl/math/sumifs.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/sumifs.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2671,7 +2669,7 @@ void ScOpenCLTest::testMathSumIfsFormula()
 
 void ScOpenCLTest::testMathFormulaArcCotHyp()
 {
-    if(!initTestEnv(u"opencl/math/ArcCotHyp.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/ArcCotHyp.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2688,7 +2686,7 @@ void ScOpenCLTest::testMathFormulaArcCotHyp()
 
 void ScOpenCLTest::testMathFormulaArcSin()
 {
-    if(!initTestEnv(u"opencl/math/ArcSin.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/ArcSin.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2705,7 +2703,7 @@ void ScOpenCLTest::testMathFormulaArcSin()
 
 void ScOpenCLTest:: testFinancialVDBFormula()
 {
-    if(!initTestEnv(u"opencl/financial/VDB.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/VDB.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2733,7 +2731,7 @@ void ScOpenCLTest:: testFinancialVDBFormula()
 
 void ScOpenCLTest:: testFinancialIPMTFormula()
 {
-    if(!initTestEnv(u"opencl/financial/IPMT.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/IPMT.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2749,7 +2747,7 @@ void ScOpenCLTest:: testFinancialIPMTFormula()
 
 void ScOpenCLTest::testStatisticalFormulaChiSqDist()
 {
-    if(!initTestEnv(u"opencl/statistical/CHISQDIST.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/statistical/CHISQDIST.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2772,7 +2770,7 @@ void ScOpenCLTest::testStatisticalFormulaChiSqDist()
 
 void ScOpenCLTest::testStatisticalFormulaConfidence()
 {
-    if(!initTestEnv(u"opencl/statistical/Confidence.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Confidence.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2789,7 +2787,7 @@ void ScOpenCLTest::testStatisticalFormulaConfidence()
 
 void ScOpenCLTest::testStatisticalFormulaFDist()
 {
-    if(!initTestEnv(u"opencl/statistical/Fdist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Fdist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2806,7 +2804,7 @@ void ScOpenCLTest::testStatisticalFormulaFDist()
 
 void ScOpenCLTest::testFinancialCoupncdFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Coupncd.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Coupncd.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2822,7 +2820,7 @@ void ScOpenCLTest::testFinancialCoupncdFormula()
 
 void ScOpenCLTest::testFinancialAccrintFormula()
 {
-    if(!initTestEnv(u"opencl/financial/Accrint.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/Accrint.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2838,7 +2836,7 @@ void ScOpenCLTest::testFinancialAccrintFormula()
 
 void ScOpenCLTest::testStatisticalFormulaCritBinom()
 {
-    if(!initTestEnv(u"opencl/statistical/CritBinom.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/CritBinom.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2855,7 +2853,7 @@ void ScOpenCLTest::testStatisticalFormulaCritBinom()
 
 void ScOpenCLTest::testMathFormulaArcSinHyp()
 {
-    if(!initTestEnv(u"opencl/math/ArcSinHyp.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/ArcSinHyp.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2872,7 +2870,7 @@ void ScOpenCLTest::testMathFormulaArcSinHyp()
 
 void ScOpenCLTest::testMathFormulaArcTan()
 {
-    if(!initTestEnv(u"opencl/math/ArcTan.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/ArcTan.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2889,7 +2887,7 @@ void ScOpenCLTest::testMathFormulaArcTan()
 
 void ScOpenCLTest::testMathFormulaArcTanHyp()
 {
-    if(!initTestEnv(u"opencl/math/ArcTanHyp.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/ArcTanHyp.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2906,7 +2904,7 @@ void ScOpenCLTest::testMathFormulaArcTanHyp()
 
 void ScOpenCLTest:: testFinacialNPER1Formula()
 {
-    if(!initTestEnv(u"opencl/financial/NPER1.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/NPER1.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2922,7 +2920,7 @@ void ScOpenCLTest:: testFinacialNPER1Formula()
 
 void ScOpenCLTest::testMathFormulaArcTan2()
 {
-    if(!initTestEnv(u"opencl/math/ArcTan2.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/ArcTan2.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2939,7 +2937,7 @@ void ScOpenCLTest::testMathFormulaArcTan2()
 
 void ScOpenCLTest::testStatisticalFormulaChiSqInv()
 {
-    if(!initTestEnv(u"opencl/statistical/CHISQINV.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/statistical/CHISQINV.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2956,7 +2954,7 @@ void ScOpenCLTest::testStatisticalFormulaChiSqInv()
 
 void ScOpenCLTest::testMathFormulaBitAnd()
 {
-    if(!initTestEnv(u"opencl/math/BitAnd.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/BitAnd.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2973,7 +2971,7 @@ void ScOpenCLTest::testMathFormulaBitAnd()
 
 void ScOpenCLTest::testStatisticalFormulaPoisson()
 {
-    if(!initTestEnv(u"opencl/statistical/Poisson.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Poisson.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -2990,7 +2988,7 @@ void ScOpenCLTest::testStatisticalFormulaPoisson()
 
 void ScOpenCLTest::testStatisticalFormulaExpondist()
 {
-    if(!initTestEnv(u"opencl/statistical/Expondist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Expondist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3007,7 +3005,7 @@ void ScOpenCLTest::testStatisticalFormulaExpondist()
 
 void ScOpenCLTest::testMathFormulaBitOr()
 {
-    if(!initTestEnv(u"opencl/math/BitOr.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/BitOr.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3024,7 +3022,7 @@ void ScOpenCLTest::testMathFormulaBitOr()
 
 void ScOpenCLTest::testMathFormulaOdd()
 {
-    if(!initTestEnv(u"opencl/math/odd.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/odd.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3040,7 +3038,7 @@ void ScOpenCLTest::testMathFormulaOdd()
 
 void ScOpenCLTest::testMathFormulaLN()
 {
-    if(!initTestEnv(u"opencl/math/LN.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/LN.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3057,7 +3055,7 @@ void ScOpenCLTest::testMathFormulaLN()
 
 void ScOpenCLTest::testMathFormulaMod()
 {
-    if(!initTestEnv(u"opencl/math/mod.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/mod.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3076,7 +3074,7 @@ void ScOpenCLTest::testMathFormulaMod()
 
 void ScOpenCLTest::testMathFormulaRound()
 {
-    if(!initTestEnv(u"opencl/math/ROUND.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/ROUND.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3099,7 +3097,7 @@ void ScOpenCLTest::testMathFormulaRound()
 
 void ScOpenCLTest::testStatisticalFormulaGammaDist()
 {
-    if(!initTestEnv(u"opencl/statistical/GammaDist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/GammaDist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3116,7 +3114,7 @@ void ScOpenCLTest::testStatisticalFormulaGammaDist()
 
 void ScOpenCLTest::testStatisticalFormulaGammaInv()
 {
-    if(!initTestEnv(u"opencl/statistical/GammaInv.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/GammaInv.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3136,7 +3134,7 @@ void ScOpenCLTest::testStatisticalFormulaGammaInv()
 
 void ScOpenCLTest::testStatisticalFormulaFInv()
 {
-    if(!initTestEnv(u"opencl/statistical/FInv.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/FInv.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3156,7 +3154,7 @@ void ScOpenCLTest::testStatisticalFormulaFInv()
 
 void ScOpenCLTest::testStatisticalFormulaFTest()
 {
-    if(!initTestEnv(u"opencl/statistical/FTest.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/FTest.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3173,7 +3171,7 @@ void ScOpenCLTest::testStatisticalFormulaFTest()
 
 void ScOpenCLTest::testStatisticalFormulaB()
 {
-    if(!initTestEnv(u"opencl/statistical/B.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/B.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3193,7 +3191,7 @@ void ScOpenCLTest::testStatisticalFormulaB()
 
 void ScOpenCLTest::testStatisticalFormulaBetaDist()
 {
-    if(!initTestEnv(u"opencl/statistical/BetaDist.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/statistical/BetaDist.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3213,7 +3211,7 @@ void ScOpenCLTest::testStatisticalFormulaBetaDist()
 
 void ScOpenCLTest::testMathFormulaEven()
 {
-    if(!initTestEnv(u"opencl/math/even.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/even.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3229,7 +3227,7 @@ void ScOpenCLTest::testMathFormulaEven()
 
 void ScOpenCLTest::testMathFormulaExp()
 {
-    if(!initTestEnv(u"opencl/math/exp.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/exp.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3245,7 +3243,7 @@ void ScOpenCLTest::testMathFormulaExp()
 
 void ScOpenCLTest::testStatisticalFormulaChiDist()
 {
-    if(!initTestEnv(u"opencl/statistical/ChiDist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/ChiDist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3262,7 +3260,7 @@ void ScOpenCLTest::testStatisticalFormulaChiDist()
 
 void ScOpenCLTest::testMathFormulaBitLshift()
 {
-    if(!initTestEnv(u"opencl/math/BitLshift.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/BitLshift.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3279,7 +3277,7 @@ void ScOpenCLTest::testMathFormulaBitLshift()
 
 void ScOpenCLTest::testMathFormulaBitRshift()
 {
-    if(!initTestEnv(u"opencl/math/BitRshift.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/BitRshift.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3296,7 +3294,7 @@ void ScOpenCLTest::testMathFormulaBitRshift()
 
 void ScOpenCLTest::testMathFormulaFloor()
 {
-    if(!initTestEnv(u"opencl/math/floor.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/floor.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3312,7 +3310,7 @@ void ScOpenCLTest::testMathFormulaFloor()
 
 void ScOpenCLTest::testMathFormulaLog()
 {
-    if(!initTestEnv(u"opencl/math/log.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/log.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3328,7 +3326,7 @@ void ScOpenCLTest::testMathFormulaLog()
 
 void ScOpenCLTest::testSpreadSheetFormulaVLookup()
 {
-    if(!initTestEnv(u"opencl/spreadsheet/VLookup.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/spreadsheet/VLookup.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3351,7 +3349,7 @@ void ScOpenCLTest::testSpreadSheetFormulaVLookup()
 
 void ScOpenCLTest::testStatisticalFormulaChiInv()
 {
-    if(!initTestEnv(u"opencl/statistical/ChiInv.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/ChiInv.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3368,7 +3366,7 @@ void ScOpenCLTest::testStatisticalFormulaChiInv()
 
 void ScOpenCLTest::testMathFormulaConvert()
 {
-    if(!initTestEnv(u"opencl/math/convert.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/convert.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3384,7 +3382,7 @@ void ScOpenCLTest::testMathFormulaConvert()
 
 void ScOpenCLTest::testMathCountIfsFormula()
 {
-    if(!initTestEnv(u"opencl/math/countifs.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/countifs.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3400,7 +3398,7 @@ void ScOpenCLTest::testMathCountIfsFormula()
 
 void ScOpenCLTest::testMathFormulaBitXor()
 {
-    if(!initTestEnv(u"opencl/math/BitXor.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/BitXor.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3417,7 +3415,7 @@ void ScOpenCLTest::testMathFormulaBitXor()
 
 void ScOpenCLTest::testMathAverageIfsFormula()
 {
-    if(!initTestEnv(u"opencl/math/averageifs.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/averageifs.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3434,7 +3432,7 @@ void ScOpenCLTest::testMathAverageIfsFormula()
 
 void ScOpenCLTest::testMathFormulaLog10()
 {
-    if(!initTestEnv(u"opencl/math/log10.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/log10.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3450,7 +3448,7 @@ void ScOpenCLTest::testMathFormulaLog10()
 
 void ScOpenCLTest::testMathFormulaCombina()
 {
-    if(!initTestEnv(u"opencl/math/combina.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/combina.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3466,7 +3464,7 @@ void ScOpenCLTest::testMathFormulaCombina()
 
 void ScOpenCLTest::testMathFormulaCeil()
 {
-    if(!initTestEnv(u"opencl/math/Ceil.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/Ceil.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3483,7 +3481,7 @@ void ScOpenCLTest::testMathFormulaCeil()
 
 void ScOpenCLTest::testMathFormulaSqrtPi()
 {
-    if(!initTestEnv(u"opencl/math/sqrtpi.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/sqrtpi.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3499,7 +3497,7 @@ void ScOpenCLTest::testMathFormulaSqrtPi()
 
 void ScOpenCLTest::testStatisticalFormulaVarP()
 {
-    if(!initTestEnv(u"opencl/statistical/VarP.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/VarP.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3516,7 +3514,7 @@ void ScOpenCLTest::testStatisticalFormulaVarP()
 
 void ScOpenCLTest::testStatisticalFormulaStDev()
 {
-    if(!initTestEnv(u"opencl/statistical/StDev.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/StDev.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3533,7 +3531,7 @@ void ScOpenCLTest::testStatisticalFormulaStDev()
 
 void ScOpenCLTest::testStatisticalFormulaStDevP()
 {
-    if(!initTestEnv(u"opencl/statistical/StDevP.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/StDevP.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3550,7 +3548,7 @@ void ScOpenCLTest::testStatisticalFormulaStDevP()
 
 void ScOpenCLTest::testStatisticalFormulaSlope()
 {
-    if(!initTestEnv(u"opencl/statistical/Slope.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Slope.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3567,7 +3565,7 @@ void ScOpenCLTest::testStatisticalFormulaSlope()
 
 void ScOpenCLTest::testStatisticalFormulaSTEYX()
 {
-    if(!initTestEnv(u"opencl/statistical/STEYX.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/STEYX.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3584,7 +3582,7 @@ void ScOpenCLTest::testStatisticalFormulaSTEYX()
 
 void ScOpenCLTest::testStatisticalFormulaZTest()
 {
-    if(!initTestEnv(u"opencl/statistical/ZTest.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/ZTest.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3601,7 +3599,7 @@ void ScOpenCLTest::testStatisticalFormulaZTest()
 
 void ScOpenCLTest::testStatisticalFormulaTTest()
 {
-    if(!initTestEnv(u"opencl/statistical/TTest.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/TTest.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3618,7 +3616,7 @@ void ScOpenCLTest::testStatisticalFormulaTTest()
 
 void ScOpenCLTest::testStatisticalFormulaTDist()
 {
-    if(!initTestEnv(u"opencl/statistical/TDist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/TDist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3635,7 +3633,7 @@ void ScOpenCLTest::testStatisticalFormulaTDist()
 
 void ScOpenCLTest::testStatisticalFormulaTInv()
 {
-    if(!initTestEnv(u"opencl/statistical/TInv.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/TInv.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3652,7 +3650,7 @@ void ScOpenCLTest::testStatisticalFormulaTInv()
 
 void ScOpenCLTest::testStatisticalFormulaBinomDist()
 {
-    if(!initTestEnv(u"opencl/statistical/BinomDist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/BinomDist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3669,7 +3667,7 @@ void ScOpenCLTest::testStatisticalFormulaBinomDist()
 
 void ScOpenCLTest::testMathFormulaProduct()
 {
-    if(!initTestEnv(u"opencl/math/product.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/product.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3686,7 +3684,7 @@ void ScOpenCLTest::testMathFormulaProduct()
 #if 0 //Disabled temporarily
 void ScOpenCLTest::testMathFormulaKombin()
 {
-    if(!initTestEnv("opencl/math/Kombin.", FORMAT_ODS, false))
+    if(!initTestEnv("opencl/math/Kombin.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3704,7 +3702,7 @@ void ScOpenCLTest::testMathFormulaKombin()
 
 void ScOpenCLTest:: testArrayFormulaSumX2MY2()
 {
-    if(!initTestEnv(u"opencl/array/SUMX2MY2.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/array/SUMX2MY2.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3726,7 +3724,7 @@ void ScOpenCLTest:: testArrayFormulaSumX2MY2()
 
 void ScOpenCLTest::testStatisticalFormulaHypGeomDist()
 {
-    if(!initTestEnv(u"opencl/statistical/HypGeomDist.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/HypGeomDist.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3743,7 +3741,7 @@ void ScOpenCLTest::testStatisticalFormulaHypGeomDist()
 
 void ScOpenCLTest:: testArrayFormulaSumX2PY2()
 {
-    if(!initTestEnv(u"opencl/array/SUMX2PY2.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/array/SUMX2PY2.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3765,7 +3763,7 @@ void ScOpenCLTest:: testArrayFormulaSumX2PY2()
 
 void ScOpenCLTest::testStatisticalFormulaBetainv()
 {
-    if(!initTestEnv(u"opencl/statistical/Betainv.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Betainv.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3782,7 +3780,7 @@ void ScOpenCLTest::testStatisticalFormulaBetainv()
 
 void ScOpenCLTest::testStatisticalFormulaMina()
 {
-    if(!initTestEnv(u"opencl/statistical/Mina.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Mina.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3798,7 +3796,7 @@ void ScOpenCLTest::testStatisticalFormulaMina()
 
 void ScOpenCLTest:: testArrayFormulaSumXMY2()
 {
-    if(!initTestEnv(u"opencl/array/SUMXMY2.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/array/SUMXMY2.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3820,7 +3818,7 @@ void ScOpenCLTest:: testArrayFormulaSumXMY2()
 
 void ScOpenCLTest::testStatisticalFormulaCountA()
 {
-    if(!initTestEnv(u"opencl/statistical/counta.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/counta.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3836,7 +3834,7 @@ void ScOpenCLTest::testStatisticalFormulaCountA()
 
 void ScOpenCLTest::testStatisticalFormulaMaxa()
 {
-    if(!initTestEnv(u"opencl/statistical/Maxa.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Maxa.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3852,7 +3850,7 @@ void ScOpenCLTest::testStatisticalFormulaMaxa()
 
 void ScOpenCLTest::testMathFormulaSumProduct()
 {
-    if(!initTestEnv(u"opencl/math/sumproduct_mixSliding.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/sumproduct_mixSliding.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3882,7 +3880,7 @@ void ScOpenCLTest::testMathFormulaSumProduct()
 
 void ScOpenCLTest::testMathFormulaAverageIf()
 {
-    if(!initTestEnv(u"opencl/math/averageif.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/averageif.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3898,7 +3896,7 @@ void ScOpenCLTest::testMathFormulaAverageIf()
 
 void ScOpenCLTest::testStatisticalFormulaAverageA()
 {
-    if(!initTestEnv(u"opencl/statistical/AverageA.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/AverageA.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3914,7 +3912,7 @@ void ScOpenCLTest::testStatisticalFormulaAverageA()
 
 void ScOpenCLTest:: testLogicalFormulaAnd()
 {
-    if(!initTestEnv(u"opencl/logical/and.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/logical/and.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3936,7 +3934,7 @@ void ScOpenCLTest:: testLogicalFormulaAnd()
 
 void ScOpenCLTest::testStatisticalFormulaVarA()
 {
-    if(!initTestEnv(u"opencl/statistical/VarA.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/VarA.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3953,7 +3951,7 @@ void ScOpenCLTest::testStatisticalFormulaVarA()
 
 void ScOpenCLTest::testStatisticalFormulaVarPA()
 {
-    if(!initTestEnv(u"opencl/statistical/VarPA.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/VarPA.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3969,7 +3967,7 @@ void ScOpenCLTest::testStatisticalFormulaVarPA()
 
 void ScOpenCLTest::testStatisticalFormulaStDevA()
 {
-    if(!initTestEnv(u"opencl/statistical/StDevA.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/StDevA.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -3986,7 +3984,7 @@ void ScOpenCLTest::testStatisticalFormulaStDevA()
 
 void ScOpenCLTest::testStatisticalFormulaStDevPA()
 {
-    if(!initTestEnv(u"opencl/statistical/StDevPA.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/StDevPA.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4003,7 +4001,7 @@ void ScOpenCLTest::testStatisticalFormulaStDevPA()
 
 void ScOpenCLTest:: testFinancialMDurationFormula1()
 {
-    if(!initTestEnv(u"opencl/financial/MDuration1.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/financial/MDuration1.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4019,7 +4017,7 @@ void ScOpenCLTest:: testFinancialMDurationFormula1()
 
 void ScOpenCLTest::testMathFormulaSumProduct2()
 {
-    if(!initTestEnv(u"opencl/math/sumproductTest.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/sumproductTest.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4036,7 +4034,7 @@ void ScOpenCLTest::testMathFormulaSumProduct2()
 
 void ScOpenCLTest:: testStatisticalParallelCountBug()
 {
-    if(!initTestEnv(u"opencl/statistical/parallel_count_bug_243.", FORMAT_ODS, 
false))
+    if(!initTestEnv(u"opencl/statistical/parallel_count_bug_243.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4052,7 +4050,7 @@ void ScOpenCLTest:: testStatisticalParallelCountBug()
 
 void ScOpenCLTest:: testLogicalFormulaOr()
 {
-    if(!initTestEnv(u"opencl/logical/or.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/logical/or.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4068,7 +4066,7 @@ void ScOpenCLTest:: testLogicalFormulaOr()
 
 void ScOpenCLTest:: testLogicalFormulaNot()
 {
-    if(!initTestEnv(u"opencl/logical/not.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/logical/not.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4084,7 +4082,7 @@ void ScOpenCLTest:: testLogicalFormulaNot()
 
 void ScOpenCLTest:: testLogicalFormulaXor()
 {
-    if(!initTestEnv(u"opencl/logical/xor.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/logical/xor.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4100,7 +4098,7 @@ void ScOpenCLTest:: testLogicalFormulaXor()
 
 void ScOpenCLTest::testDatabaseFormulaDcount()
 {
-    if(!initTestEnv(u"opencl/database/dcount.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dcount.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4117,7 +4115,7 @@ void ScOpenCLTest::testDatabaseFormulaDcount()
 
 void ScOpenCLTest::testDatabaseFormulaDcountA()
 {
-    if(!initTestEnv(u"opencl/database/dcountA.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dcountA.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4134,7 +4132,7 @@ void ScOpenCLTest::testDatabaseFormulaDcountA()
 
 void ScOpenCLTest::testDatabaseFormulaDmax()
 {
-    if(!initTestEnv(u"opencl/database/dmax.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dmax.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4151,7 +4149,7 @@ void ScOpenCLTest::testDatabaseFormulaDmax()
 
 void ScOpenCLTest::testDatabaseFormulaDmin()
 {
-    if(!initTestEnv(u"opencl/database/dmin.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dmin.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4168,7 +4166,7 @@ void ScOpenCLTest::testDatabaseFormulaDmin()
 
 void ScOpenCLTest::testDatabaseFormulaDproduct()
 {
-    if(!initTestEnv(u"opencl/database/dproduct.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dproduct.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4185,7 +4183,7 @@ void ScOpenCLTest::testDatabaseFormulaDproduct()
 
 void ScOpenCLTest::testDatabaseFormulaDaverage()
 {
-    if(!initTestEnv(u"opencl/database/daverage.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/daverage.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4203,7 +4201,7 @@ void ScOpenCLTest::testDatabaseFormulaDaverage()
 
 void ScOpenCLTest::testDatabaseFormulaDstdev()
 {
-    if(!initTestEnv(u"opencl/database/dstdev.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dstdev.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4221,7 +4219,7 @@ void ScOpenCLTest::testDatabaseFormulaDstdev()
 
 void ScOpenCLTest::testDatabaseFormulaDstdevp()
 {
-    if(!initTestEnv(u"opencl/database/dstdevp.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dstdevp.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4239,7 +4237,7 @@ void ScOpenCLTest::testDatabaseFormulaDstdevp()
 
 void ScOpenCLTest::testDatabaseFormulaDsum()
 {
-    if(!initTestEnv(u"opencl/database/dsum.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dsum.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4257,7 +4255,7 @@ void ScOpenCLTest::testDatabaseFormulaDsum()
 
 void ScOpenCLTest::testDatabaseFormulaDvar()
 {
-    if(!initTestEnv(u"opencl/database/dvar.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dvar.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4275,7 +4273,7 @@ void ScOpenCLTest::testDatabaseFormulaDvar()
 
 void ScOpenCLTest::testDatabaseFormulaDvarp()
 {
-    if(!initTestEnv(u"opencl/database/dvarp.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/database/dvarp.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4292,7 +4290,7 @@ void ScOpenCLTest::testDatabaseFormulaDvarp()
 
 void ScOpenCLTest::testMathFormulaRoundUp()
 {
-    if(!initTestEnv(u"opencl/math/roundup.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/roundup.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4309,7 +4307,7 @@ void ScOpenCLTest::testMathFormulaRoundUp()
 
 void ScOpenCLTest::testMathFormulaRoundDown()
 {
-    if(!initTestEnv(u"opencl/math/rounddown.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/rounddown.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4326,7 +4324,7 @@ void ScOpenCLTest::testMathFormulaRoundDown()
 
 void ScOpenCLTest::testMathFormulaInt()
 {
-    if(!initTestEnv(u"opencl/math/int.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/int.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4343,7 +4341,7 @@ void ScOpenCLTest::testMathFormulaInt()
 
 void ScOpenCLTest::testMathFormulaRadians()
 {
-    if(!initTestEnv(u"opencl/math/radians.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/radians.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4360,7 +4358,7 @@ void ScOpenCLTest::testMathFormulaRadians()
 
 void ScOpenCLTest::testMathFormulaDegrees()
 {
-    if(!initTestEnv(u"opencl/math/degrees.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/degrees.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4376,7 +4374,7 @@ void ScOpenCLTest::testMathFormulaDegrees()
 
 void ScOpenCLTest::testMathFormulaIsEven()
 {
-    if(!initTestEnv(u"opencl/math/iseven.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/iseven.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4393,7 +4391,7 @@ void ScOpenCLTest::testMathFormulaIsEven()
 
 void ScOpenCLTest::testMathFormulaCountIf()
 {
-    if(!initTestEnv(u"opencl/math/countif.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/countif.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4409,7 +4407,7 @@ void ScOpenCLTest::testMathFormulaCountIf()
 
 void ScOpenCLTest::testMathFormulaIsOdd()
 {
-    if(!initTestEnv(u"opencl/math/isodd.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/isodd.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4426,7 +4424,7 @@ void ScOpenCLTest::testMathFormulaIsOdd()
 
 void ScOpenCLTest::testMathFormulaFact()
 {
-    if(!initTestEnv(u"opencl/math/fact.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/fact.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4442,7 +4440,7 @@ void ScOpenCLTest::testMathFormulaFact()
 
 void ScOpenCLTest::testMathFormulaSEC()
 {
-    if(!initTestEnv(u"opencl/math/sec.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/sec.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4458,7 +4456,7 @@ void ScOpenCLTest::testMathFormulaSEC()
 
 void ScOpenCLTest::testMathFormulaSECH()
 {
-    if(!initTestEnv(u"opencl/math/sech.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/sech.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4474,7 +4472,7 @@ void ScOpenCLTest::testMathFormulaSECH()
 
 void ScOpenCLTest::testMathFormulaMROUND()
 {
-    if(!initTestEnv(u"opencl/math/MROUND.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/MROUND.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4490,7 +4488,7 @@ void ScOpenCLTest::testMathFormulaMROUND()
 
 void ScOpenCLTest::testMathFormulaQuotient()
 {
-    if(!initTestEnv(u"opencl/math/Quotient.", FORMAT_ODS, false))
+    if(!initTestEnv(u"opencl/math/Quotient.", FORMAT_ODS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4507,7 +4505,7 @@ void ScOpenCLTest::testMathFormulaQuotient()
 
 void ScOpenCLTest::testMathFormulaSeriesSum()
 {
-    if(!initTestEnv(u"opencl/math/seriessum.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/seriessum.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4523,7 +4521,7 @@ void ScOpenCLTest::testMathFormulaSeriesSum()
 
 void ScOpenCLTest::testMathFormulaSumIf()
 {
-    if(!initTestEnv(u"opencl/math/sumif.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/sumif.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4539,7 +4537,7 @@ void ScOpenCLTest::testMathFormulaSumIf()
 
 void ScOpenCLTest::testAddInFormulaBesseLJ()
 {
-    if(!initTestEnv(u"opencl/addin/besselj.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/addin/besselj.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4556,7 +4554,7 @@ void ScOpenCLTest::testAddInFormulaBesseLJ()
 
 void ScOpenCLTest::testStatisticalFormulaAvedev()
 {
-    if(!initTestEnv(u"opencl/statistical/Avedev.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Avedev.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4573,7 +4571,7 @@ void ScOpenCLTest::testStatisticalFormulaAvedev()
 
 void ScOpenCLTest::testNegSub()
 {
-    if(!initTestEnv(u"opencl/math/NegSub.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/NegSub.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4590,7 +4588,7 @@ void ScOpenCLTest::testNegSub()
 
 void ScOpenCLTest::testMathFormulaAverageIf_Mix()
 {
-    if(!initTestEnv(u"opencl/math/averageif_mix.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/math/averageif_mix.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4606,7 +4604,7 @@ void ScOpenCLTest::testMathFormulaAverageIf_Mix()
 
 void ScOpenCLTest::testStatisticalFormulaKurt1()
 {
-    if(!initTestEnv(u"opencl/statistical/Kurt1.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/Kurt1.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4623,7 +4621,7 @@ void ScOpenCLTest::testStatisticalFormulaKurt1()
 
 void ScOpenCLTest::testStatisticalFormulaHarMean1()
 {
-    if(!initTestEnv(u"opencl/statistical/HarMean1.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/HarMean1.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4640,7 +4638,7 @@ void ScOpenCLTest::testStatisticalFormulaHarMean1()
 
 void ScOpenCLTest::testStatisticalFormulaVarA1()
 {
-    if(!initTestEnv(u"opencl/statistical/VarA1.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/VarA1.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4657,7 +4655,7 @@ void ScOpenCLTest::testStatisticalFormulaVarA1()
 
 void ScOpenCLTest::testStatisticalFormulaVarPA1()
 {
-    if(!initTestEnv(u"opencl/statistical/VarPA1.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/VarPA1.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4674,7 +4672,7 @@ void ScOpenCLTest::testStatisticalFormulaVarPA1()
 
 void ScOpenCLTest::testStatisticalFormulaStDevA1()
 {
-    if(!initTestEnv(u"opencl/statistical/StDevA1.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/StDevA1.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();
@@ -4691,7 +4689,7 @@ void ScOpenCLTest::testStatisticalFormulaStDevA1()
 
 void ScOpenCLTest::testStatisticalFormulaStDevPA1()
 {
-    if(!initTestEnv(u"opencl/statistical/StDevPA1.", FORMAT_XLS, false))
+    if(!initTestEnv(u"opencl/statistical/StDevPA1.", FORMAT_XLS))
         return;
     ScDocument& rDoc = xDocSh->GetDocument();
     ScDocument& rDocRes = xDocShRes->GetDocument();

Reply via email to