cui: fix Android build
Change-Id: I6396d7702de42ad2cec3843e919cca084e92c008
This commit is contained in:
@@ -48,7 +48,9 @@
|
|||||||
#include <rtl/ustrbuf.hxx>
|
#include <rtl/ustrbuf.hxx>
|
||||||
#include <vcl/bitmap.hxx>
|
#include <vcl/bitmap.hxx>
|
||||||
|
|
||||||
|
#if HAVE_FEATURE_OPENCL
|
||||||
#include <opencl/openclwrapper.hxx>
|
#include <opencl/openclwrapper.hxx>
|
||||||
|
#endif
|
||||||
#include <officecfg/Office/Common.hxx>
|
#include <officecfg/Office/Common.hxx>
|
||||||
|
|
||||||
using namespace ::com::sun::star::uno;
|
using namespace ::com::sun::star::uno;
|
||||||
@@ -304,6 +306,7 @@ OUString AboutDialog::GetVersionString()
|
|||||||
sVersion += m_aLocaleStr.replaceAll("$LOCALE", aLocaleStr);
|
sVersion += m_aLocaleStr.replaceAll("$LOCALE", aLocaleStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if HAVE_FEATURE_OPENCL
|
||||||
OUString aCalcMode = "Calc: "; // Calc calculation mode
|
OUString aCalcMode = "Calc: "; // Calc calculation mode
|
||||||
bool bSWInterp = officecfg::Office::Common::Misc::UseSwInterpreter::get();
|
bool bSWInterp = officecfg::Office::Common::Misc::UseSwInterpreter::get();
|
||||||
bool bOpenCL = opencl::GPUEnv::isOpenCLEnabled();
|
bool bOpenCL = opencl::GPUEnv::isOpenCLEnabled();
|
||||||
@@ -314,6 +317,7 @@ OUString AboutDialog::GetVersionString()
|
|||||||
else
|
else
|
||||||
aCalcMode += "single";
|
aCalcMode += "single";
|
||||||
sVersion += "; " + aCalcMode;
|
sVersion += "; " + aCalcMode;
|
||||||
|
#endif
|
||||||
|
|
||||||
return sVersion;
|
return sVersion;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user