diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-28 10:33:53 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-28 10:33:53 +0200 |
commit | 05676088e23a7da470ba5e574ddf03a29fb11c9a (patch) | |
tree | 3e5ee373dd2ce2edb87c25ac84c5db912086de56 /cui | |
parent | f2027aabc0a4efa9809dfa420c74e074f678e951 (diff) |
cui: fix Android build
Change-Id: I6396d7702de42ad2cec3843e919cca084e92c008
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/about.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index de6b4dcc844a..22bb65972d56 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -48,7 +48,9 @@ #include <rtl/ustrbuf.hxx> #include <vcl/bitmap.hxx> +#if HAVE_FEATURE_OPENCL #include <opencl/openclwrapper.hxx> +#endif #include <officecfg/Office/Common.hxx> using namespace ::com::sun::star::uno; @@ -304,6 +306,7 @@ OUString AboutDialog::GetVersionString() sVersion += m_aLocaleStr.replaceAll("$LOCALE", aLocaleStr); } +#if HAVE_FEATURE_OPENCL OUString aCalcMode = "Calc: "; // Calc calculation mode bool bSWInterp = officecfg::Office::Common::Misc::UseSwInterpreter::get(); bool bOpenCL = opencl::GPUEnv::isOpenCLEnabled(); @@ -314,6 +317,7 @@ OUString AboutDialog::GetVersionString() else aCalcMode += "single"; sVersion += "; " + aCalcMode; +#endif return sVersion; } |