summaryrefslogtreecommitdiff
path: root/svtools/source/dialogs/PlaceEditDialog.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-19 09:11:34 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 11:15:35 +0200
commit167bc621ef825ed5b961502fe9324a675ee34e42 (patch)
tree523838d8adc14a62f846529ee6eab3343b2fe87b /svtools/source/dialogs/PlaceEditDialog.cxx
parent46a27805fb707544a844a961a3743b8b992282f0 (diff)
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'svtools/source/dialogs/PlaceEditDialog.cxx')
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index 5b8bba57c044..b244494fbfda 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -252,7 +252,7 @@ void PlaceEditDialog::UpdateLabel( )
}
}
-IMPL_LINK ( PlaceEditDialog, OKHdl, Button *, )
+IMPL_LINK_TYPED( PlaceEditDialog, OKHdl, Button*, /*pBtn*/, void)
{
if ( m_xCurrentDetails.get() )
{
@@ -285,15 +285,12 @@ IMPL_LINK ( PlaceEditDialog, OKHdl, Button *, )
EndDialog( RET_OK );
}
}
-
- return 1;
}
-IMPL_LINK ( PlaceEditDialog, DelHdl, Button *, )
+IMPL_LINK_TYPED( PlaceEditDialog, DelHdl, Button*, /*pButton*/, void)
{
// ReUsing existing symbols...
EndDialog( RET_NO );
- return 1;
}
IMPL_LINK_NOARG_TYPED( PlaceEditDialog, EditHdl, DetailsContainer*, void )