summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx
index 12b071f3edad..0eada39c8130 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.cxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx
@@ -655,8 +655,10 @@ struct Reduction : Op
}
-IMPL_LINK( ScCalcOptionsDialog, TestClickHdl, PushButton*, )
+IMPL_LINK( ScCalcOptionsDialog, TestClickHdl, PushButton*, pButton)
{
+ pButton->Disable();
+
// Automatically test the current implementation of OpenCL. If it
// seems good, whitelist it. If it seems bad, blacklist it.