tdf#150246 Show CL and threaded in About dialog in the same time
Change-Id: I8d4974967e1595159251275f58d88c25b9e91e6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138824
Tested-by: Jenkins
Reviewed-by: Roman Kuznetsov <antilibreoffice@gmail.com>
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index 09717dd..abeafa4 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -219,11 +219,8 @@ OUString AboutDialog::GetMiscString() {
OUString aCalcMode; // Calc calculation mode
#if HAVE_FEATURE_OPENCL
bool bOpenCL = openclwrapper::GPUEnv::isOpenCLEnabled();
if (bOpenCL)
if (openclwrapper::GPUEnv::isOpenCLEnabled())
aCalcMode += " CL";
#else
const bool bOpenCL = false;
#endif
static const bool bThreadingProhibited =
@@ -231,7 +228,7 @@ OUString AboutDialog::GetMiscString() {
bool bThreadedCalc = officecfg::Office::Calc::Formula::Calculation::
UseThreadedCalculationForFormulaGroups::get();
if (!bThreadingProhibited && !bOpenCL && bThreadedCalc) {
if (!bThreadingProhibited && bThreadedCalc) {
aCalcMode += " threaded";
}