diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-30 16:58:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-30 16:59:09 +0200 |
commit | 4d28399ccdeeb43655aba89f14c58b26d379c780 (patch) | |
tree | cf520fb6e895566417b54ba26e90675a063681c4 /sfx2 | |
parent | b705075634d54a57e5edfeae1791869186bf149a (diff) |
Use typed Link for MenuButton::SetSelectHdl
(and MenuButton::GetSelectHdl was unused)
Change-Id: I94df06bcda9e041fde65553e30247874b20ff74b
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/dialog/backingwindow.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 6c5206d1afe7..a83884db7055 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -598,7 +598,7 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton ) return 0; } -IMPL_LINK( BackingWindow, MenuSelectHdl, MenuButton*, pButton ) +IMPL_LINK_TYPED( BackingWindow, MenuSelectHdl, MenuButton*, pButton, void ) { initializeLocalView(); @@ -637,8 +637,6 @@ IMPL_LINK( BackingWindow, MenuSelectHdl, MenuButton*, pButton ) mpLocalView->Show(); mpLocalView->reload(); mpLocalView->GrabFocus(); - - return 0; } diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx index 7df6552ffbd1..d45595da745d 100644 --- a/sfx2/source/dialog/backingwindow.hxx +++ b/sfx2/source/dialog/backingwindow.hxx @@ -113,7 +113,7 @@ class BackingWindow std::set<const ThumbnailViewItem*,selection_cmp_fn> maSelFolders; DECL_LINK(ClickHdl, Button*); - DECL_LINK(MenuSelectHdl, MenuButton*); + DECL_LINK_TYPED(MenuSelectHdl, MenuButton*, void); DECL_LINK(ExtLinkClickHdl, Button*); DECL_LINK(OpenRegionHdl, void*); DECL_LINK(OpenTemplateHdl, ThumbnailViewItem*); |