summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 07:49:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 07:50:14 +0200
commitfc4726a1f41ded40ce7d7100350c322863646b37 (patch)
treed0505d763b406081439b77b2e2630c4dd76bb656 /sw/source/uibase
parent0c415f61e4d2fb4efc50fe0401376657af47d203 (diff)
Use typed Menu::Set[De]actuivateHdl Links
Change-Id: I6736383ad0ec5c9f2ea2281bfdcfa280cd712032
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/docvw/PageBreakWin.cxx4
-rw-r--r--sw/source/uibase/inc/PageBreakWin.hxx2
-rw-r--r--sw/source/uibase/inc/glossary.hxx2
-rw-r--r--sw/source/uibase/inc/swuicnttab.hxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/docvw/PageBreakWin.cxx b/sw/source/uibase/docvw/PageBreakWin.cxx
index 0840c825261c..226d46df59d8 100644
--- a/sw/source/uibase/docvw/PageBreakWin.cxx
+++ b/sw/source/uibase/docvw/PageBreakWin.cxx
@@ -434,11 +434,11 @@ void SwPageBreakWin::Fade( bool bFadeIn )
m_aFadeTimer.Start( );
}
-IMPL_LINK_NOARG(SwPageBreakWin, HideHandler)
+IMPL_LINK_NOARG_TYPED(SwPageBreakWin, HideHandler, Menu *, bool)
{
Fade( false );
- return 0;
+ return false;
}
IMPL_LINK_NOARG_TYPED(SwPageBreakWin, FadeHandler, Timer *, void)
diff --git a/sw/source/uibase/inc/PageBreakWin.hxx b/sw/source/uibase/inc/PageBreakWin.hxx
index d2c165e043b1..6efb632f0ada 100644
--- a/sw/source/uibase/inc/PageBreakWin.hxx
+++ b/sw/source/uibase/inc/PageBreakWin.hxx
@@ -55,7 +55,7 @@ public:
private:
/// Hide the button (used when the popup menu is closed by clicking outside)
- DECL_LINK( HideHandler, void * );
+ DECL_LINK_TYPED( HideHandler, Menu *, bool );
DECL_LINK_TYPED( FadeHandler, Timer *, void );
};
diff --git a/sw/source/uibase/inc/glossary.hxx b/sw/source/uibase/inc/glossary.hxx
index ca045327711c..56fd84460843 100644
--- a/sw/source/uibase/inc/glossary.hxx
+++ b/sw/source/uibase/inc/glossary.hxx
@@ -127,7 +127,7 @@ class SwGlossaryDlg : public SvxStandardDialog
DECL_LINK( NameDoubleClick, SvTreeListBox * );
DECL_LINK( GrpSelect, SvTreeListBox * );
DECL_LINK( MenuHdl, Menu * );
- DECL_LINK( EnableHdl, Menu * );
+ DECL_LINK_TYPED( EnableHdl, Menu *, bool );
DECL_LINK(BibHdl, void *);
DECL_LINK_TYPED(EditHdl, MenuButton *, void);
DECL_LINK(InsertHdl, void *);
diff --git a/sw/source/uibase/inc/swuicnttab.hxx b/sw/source/uibase/inc/swuicnttab.hxx
index 2f4da99cf181..7a35d4744fbb 100644
--- a/sw/source/uibase/inc/swuicnttab.hxx
+++ b/sw/source/uibase/inc/swuicnttab.hxx
@@ -205,7 +205,7 @@ class SwTOXSelectTabPage : public SfxTabPage
DECL_LINK(TOXTypeHdl, ListBox* );
DECL_LINK(AddStylesHdl, PushButton* );
- DECL_LINK(MenuEnableHdl, Menu*);
+ DECL_LINK_TYPED(MenuEnableHdl, Menu*, bool);
DECL_LINK(MenuExecuteHdl, Menu*);
DECL_LINK(LanguageHdl, ListBox*);