diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-10-26 11:50:12 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-10-26 14:36:07 +0000 |
commit | f77603855f73560449c9680d343cc82d80e79aee (patch) | |
tree | d59540c5803a615853dddbb30acfad973b0eed14 /sc/inc/calcconfig.hxx | |
parent | 644fe0abd5dd9fb468c913337ae616fe26f9e3ad (diff) |
Make OpenCL listener global, to avoid perf. cost of copying it around.
Change-Id: Ic10b70e1d56b941d263ed7632ba8a5146145cab1
Reviewed-on: https://gerrit.libreoffice.org/19600
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/calcconfig.hxx b/sc/inc/calcconfig.hxx index 158bc1a53f20..4091bda5bea5 100644 --- a/sc/inc/calcconfig.hxx +++ b/sc/inc/calcconfig.hxx @@ -48,7 +48,7 @@ struct SC_DLLPUBLIC ScCalcConfig bool mbEmptyStringAsZero:1; bool mbHasStringRefSyntax:1; - comphelper::ConfigurationListenerProperty<bool> mbOpenCLEnabled; + static bool isOpenCLEnabled(); bool mbOpenCLSubsetOnly:1; bool mbOpenCLAutoSelect:1; |