summaryrefslogtreecommitdiff
path: root/sc/source/ui/condformat/colorformat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/condformat/colorformat.cxx')
-rw-r--r--sc/source/ui/condformat/colorformat.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/condformat/colorformat.cxx b/sc/source/ui/condformat/colorformat.cxx
index cfae7b79c872..348ea068c4eb 100644
--- a/sc/source/ui/condformat/colorformat.cxx
+++ b/sc/source/ui/condformat/colorformat.cxx
@@ -244,7 +244,7 @@ ScDataBarFormatData* ScDataBarSettingsDlg::GetData()
return pData;
}
-IMPL_LINK_NOARG( ScDataBarSettingsDlg, OkBtnHdl )
+IMPL_LINK_NOARG_TYPED( ScDataBarSettingsDlg, OkBtnHdl, Button*, void )
{
//check that min < max
bool bWarn = false;
@@ -295,7 +295,6 @@ IMPL_LINK_NOARG( ScDataBarSettingsDlg, OkBtnHdl )
{
EndDialog(RET_OK);
}
- return 0;
}
IMPL_LINK_NOARG( ScDataBarSettingsDlg, TypeSelectHdl )