From 9da4c9bc711dd0b78889b51f8cd0043626f06af8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 29 Jul 2016 09:41:54 +0200 Subject: [PATCH] loplugin:staticmethods Change-Id: If32319c1d93756d633f07a21c76e0107181704b0 --- include/sfx2/emojicontrol.hxx | 2 +- sfx2/source/control/emojicontrol.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sfx2/emojicontrol.hxx b/include/sfx2/emojicontrol.hxx index 48c2aa5be3ea..7bf5df9bc239 100644 --- a/include/sfx2/emojicontrol.hxx +++ b/include/sfx2/emojicontrol.hxx @@ -38,7 +38,7 @@ private: FILTER_CATEGORY getCurrentFilter(); DECL_LINK_TYPED(ActivatePageHdl, TabControl*, void); - DECL_LINK_TYPED(InsertHdl, ThumbnailViewItem*, void); + DECL_STATIC_LINK_TYPED(SfxEmojiControl, InsertHdl, ThumbnailViewItem*, void); VclPtr mpTabControl; VclPtr mpEmojiView; diff --git a/sfx2/source/control/emojicontrol.cxx b/sfx2/source/control/emojicontrol.cxx index 77487c20ef04..79bda2b639d3 100644 --- a/sfx2/source/control/emojicontrol.cxx +++ b/sfx2/source/control/emojicontrol.cxx @@ -153,7 +153,7 @@ IMPL_LINK_NOARG_TYPED(SfxEmojiControl, ActivatePageHdl, TabControl*, void) mpEmojiView->filterItems(ViewFilter_Category(getCurrentFilter())); } -IMPL_LINK_TYPED(SfxEmojiControl, InsertHdl, ThumbnailViewItem*, pItem, void) +IMPL_STATIC_LINK_TYPED(SfxEmojiControl, InsertHdl, ThumbnailViewItem*, pItem, void) { OUStringBuffer sHexText = ""; sHexText.appendUtf32(OUString(pItem->getTitle()).toUInt32(16));