diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-10-14 19:28:47 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-10-14 19:36:56 +0000 |
commit | 866909c1db1c81fc6b64184bbc715766a09e2d4b (patch) | |
tree | d75908477e48a35e660b6e4198e604541d701fb6 /sc/inc/calcconfig.hxx | |
parent | 8840a66faceb5ebff2e6021e9b14da691d420234 (diff) |
Improve performance by using the ScCalcOptions for OpenCL.
Use the new configurationlistener to track the relevant setting.
Change-Id: I9decea55df25f7eb34cd2fef94743d1907360d16
Reviewed-on: https://gerrit.libreoffice.org/19377
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sc/inc/calcconfig.hxx')
-rw-r--r-- | sc/inc/calcconfig.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/calcconfig.hxx b/sc/inc/calcconfig.hxx index 29337eafc764..158bc1a53f20 100644 --- a/sc/inc/calcconfig.hxx +++ b/sc/inc/calcconfig.hxx @@ -20,6 +20,8 @@ #include <formula/opcode.hxx> #include <rtl/ustring.hxx> +#include <comphelper/configurationlistener.hxx> + // have to match the registry values enum ScRecalcOptions { @@ -46,6 +48,8 @@ struct SC_DLLPUBLIC ScCalcConfig bool mbEmptyStringAsZero:1; bool mbHasStringRefSyntax:1; + comphelper::ConfigurationListenerProperty<bool> mbOpenCLEnabled; + bool mbOpenCLSubsetOnly:1; bool mbOpenCLAutoSelect:1; OUString maOpenCLDevice; |