diff options
Diffstat (limited to 'cui/source/dialogs/about.cxx')
-rw-r--r-- | cui/source/dialogs/about.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index 38dad7fcd55b..615a0f757cf0 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -47,6 +47,8 @@ #include <sfx2/app.hxx> #include <rtl/ustrbuf.hxx> #include <vcl/bitmap.hxx> + +#include <opencl/openclwrapper.hxx> #include <officecfg/Office/Common.hxx> using namespace ::com::sun::star::uno; @@ -313,6 +315,17 @@ OUString AboutDialog::GetVersionString() sVersion += m_aLocaleStr.replaceAll("$LOCALE", aLocaleStr); } + OUString aCalcMode = "Calc: "; // Calc calculation mode + bool bSWInterp = officecfg::Office::Common::Misc::UseSwInterpreter::get(); + bool bOpenCL = opencl::GPUEnv::isOpenCLEnabled(); + if (bOpenCL) + aCalcMode += "CL"; + else if (bSWInterp) + aCalcMode += "group"; + else + aCalcMode += "single"; + sVersion += "; " + aCalcMode; + return sVersion; } |