diff options
Diffstat (limited to 'sc/source/ui/StatisticsDialogs/SamplingDialog.cxx')
-rw-r--r-- | sc/source/ui/StatisticsDialogs/SamplingDialog.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx b/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx index 529e9a91e65e..4afc721cd27d 100644 --- a/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx @@ -288,11 +288,10 @@ void ScSamplingDialog::PerformSampling() pDocShell->PostPaint(aModifiedRange, PAINT_GRID); } -IMPL_LINK( ScSamplingDialog, OkClicked, PushButton*, /*pButton*/ ) +IMPL_LINK_NOARG_TYPED( ScSamplingDialog, OkClicked, Button*, void ) { PerformSampling(); Close(); - return 0; } IMPL_LINK( ScSamplingDialog, GetFocusHandler, Control*, pCtrl ) |