summaryrefslogtreecommitdiff
path: root/vcl/source/window/menubarwindow.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/menubarwindow.hxx')
-rw-r--r--vcl/source/window/menubarwindow.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/menubarwindow.hxx b/vcl/source/window/menubarwindow.hxx
index 348d167e6469..3f10c6303954 100644
--- a/vcl/source/window/menubarwindow.hxx
+++ b/vcl/source/window/menubarwindow.hxx
@@ -66,8 +66,8 @@ private:
struct AddButtonEntry
{
sal_uInt16 m_nId;
- Link m_aSelectLink;
- Link m_aHighlightLink;
+ Link<> m_aSelectLink;
+ Link<> m_aHighlightLink;
AddButtonEntry() : m_nId( 0 ) {}
};
@@ -138,8 +138,8 @@ public:
Size MinCloseButtonSize();
/// Add an arbitrary button to the menubar that will appear next to the close button.
- virtual sal_uInt16 AddMenuBarButton(const Image&, const Link&, const OUString&, sal_uInt16 nPos) SAL_OVERRIDE;
- virtual void SetMenuBarButtonHighlightHdl(sal_uInt16 nId, const Link&) SAL_OVERRIDE;
+ virtual sal_uInt16 AddMenuBarButton(const Image&, const Link<>&, const OUString&, sal_uInt16 nPos) SAL_OVERRIDE;
+ virtual void SetMenuBarButtonHighlightHdl(sal_uInt16 nId, const Link<>&) SAL_OVERRIDE;
virtual Rectangle GetMenuBarButtonRectPixel(sal_uInt16 nId) SAL_OVERRIDE;
virtual void RemoveMenuBarButton(sal_uInt16 nId) SAL_OVERRIDE;
virtual bool HandleMenuButtonEvent(sal_uInt16 i_nButtonId) SAL_OVERRIDE;