summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2022-07-04 21:02:16 +0100
committerMichael Meeks <michael.meeks@collabora.com>2022-07-06 10:29:45 +0200
commit4140154fe76ab627ad142ecb9db62d304eae146c (patch)
treeec730330e9cacba6105ca0ad8711d6b80e1d2d67 /sc/source/ui/unoobj
parente4066a41406b1ddd454901b4fa718cf9be2746c4 (diff)
opencl: no need for unhelpful nullptr OUString * case.
Change-Id: I0b3cad2247706901e1a6b9c3df7fbbc9f23ff987 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136816 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r--sc/source/ui/unoobj/docuno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 2f27948d0fe2..70207977aae6 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -3347,7 +3347,7 @@ void ScModelObj::enableOpenCL(sal_Bool bEnable)
ScInterpreter::SetGlobalConfig(aConfig);
#if HAVE_FEATURE_OPENCL
- sc::FormulaGroupInterpreter::switchOpenCLDevice(OUString(), true);
+ sc::FormulaGroupInterpreter::switchOpenCLDevice(u"", true);
#endif
ScDocument* pDoc = GetDocument();
@@ -3366,7 +3366,7 @@ void ScModelObj::enableAutomaticDeviceSelection(sal_Bool bForce)
#if !HAVE_FEATURE_OPENCL
(void) bForce;
#else
- sc::FormulaGroupInterpreter::switchOpenCLDevice(OUString(), true, bForce);
+ sc::FormulaGroupInterpreter::switchOpenCLDevice(u"", true, bForce);
#endif
}