diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-31 10:18:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-04 13:08:29 +0200 |
commit | 5b77f6d04f8798eaf6bd1e2d3b3087bcdab9db4a (patch) | |
tree | 5bf0cdd987089b9dd5473acbe8955059cb0f84b3 /include/svtools | |
parent | 0e1d027f84a41509d6e9b086fba5372511461433 (diff) |
convert Link<> to typed
Change-Id: I1acb6462aa32a0ee61e8ede3ed3e9607b8069298
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/stdmenu.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/svtools/stdmenu.hxx b/include/svtools/stdmenu.hxx index 4e9c0fb6f096..7abd16548884 100644 --- a/include/svtools/stdmenu.hxx +++ b/include/svtools/stdmenu.hxx @@ -100,9 +100,8 @@ FontList; FontNameMenu; FontSizeBox class SVT_DLLPUBLIC FontNameMenu : public PopupMenu { private: - OUString maCurName; - Link<> maSelectHdl; - Link<> maHighlightHdl; + OUString maCurName; + Link<FontNameMenu*,void> maSelectHdl; public: FontNameMenu(); @@ -116,7 +115,7 @@ public: void SetCurName( const OUString& rName ); const OUString& GetCurName() const { return maCurName; } - void SetSelectHdl( const Link<>& rLink ) { maSelectHdl = rLink; } + void SetSelectHdl( const Link<FontNameMenu*,void>& rLink ) { maSelectHdl = rLink; } }; class SVT_DLLPUBLIC FontSizeMenu : public PopupMenu |