loplugin:staticmethods

Change-Id: If32319c1d93756d633f07a21c76e0107181704b0
This commit is contained in:
Noel Grandin 2016-07-29 09:41:54 +02:00
parent 8ff6ba3da8
commit 9da4c9bc71
2 changed files with 2 additions and 2 deletions

View File

@ -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<TabControl> mpTabControl;
VclPtr<EmojiView> mpEmojiView;

View File

@ -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));