diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-30 21:19:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-01 13:36:06 +0200 |
commit | 05a650d02bb7cbd838a0a3767e22069faacc81e4 (patch) | |
tree | 0b9adf959d1c531d174d69cc4023d51e5c00aaee /cui | |
parent | 5ebc6786c69e930c422536947f2c16d8dffeb082 (diff) |
update when gaining/losing focus
Change-Id: I0f650502f43a4c1c27b0eb8b3ddab857d5c64480
Reviewed-on: https://gerrit.libreoffice.org/53674
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/cuicharmap.cxx | 7 | ||||
-rw-r--r-- | cui/source/inc/cuicharmap.hxx | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx index ac0fffe42bdf..ae4eedfb84ba 100644 --- a/cui/source/dialogs/cuicharmap.cxx +++ b/cui/source/dialogs/cuicharmap.cxx @@ -485,12 +485,10 @@ void SvxCharacterMap::init() m_xRecentCharView[i]->setMouseClickHdl(LINK(this,SvxCharacterMap, CharClickHdl)); m_xRecentCharView[i]->setClearClickHdl(LINK(this,SvxCharacterMap, RecentClearClickHdl)); m_xRecentCharView[i]->setClearAllClickHdl(LINK(this,SvxCharacterMap, RecentClearAllClickHdl)); - m_xRecentCharView[i]->connect_focus_out(LINK(this,SvxCharacterMap, LoseFocusHdl)); m_xFavCharView[i]->SetHasInsert(m_bHasInsert); m_xFavCharView[i]->setMouseClickHdl(LINK(this,SvxCharacterMap, CharClickHdl)); m_xFavCharView[i]->setClearClickHdl(LINK(this,SvxCharacterMap, FavClearClickHdl)); m_xFavCharView[i]->setClearAllClickHdl(LINK(this,SvxCharacterMap, FavClearAllClickHdl)); - m_xFavCharView[i]->connect_focus_out(LINK(this,SvxCharacterMap, LoseFocusHdl)); } setCharName(90); @@ -901,11 +899,6 @@ IMPL_LINK_NOARG(SvxCharacterMap, InsertClickHdl, weld::Button&, void) m_xDialog->response(RET_OK); } -IMPL_STATIC_LINK(SvxCharacterMap, LoseFocusHdl, weld::Widget&, rItem, void) -{ - dynamic_cast<weld::DrawingArea&>(rItem).queue_draw(); -} - IMPL_LINK_NOARG(SvxCharacterMap, FavSelectHdl, weld::Button&, void) { if (m_xFavouritesBtn->get_label().match(CuiResId(RID_SVXSTR_ADD_FAVORITES))) diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx index db77b34ec3cb..86bc53052827 100644 --- a/cui/source/inc/cuicharmap.hxx +++ b/cui/source/inc/cuicharmap.hxx @@ -127,7 +127,6 @@ private: DECL_LINK(RecentClearAllClickHdl, SvxCharView*, void); DECL_LINK(FavClearAllClickHdl, SvxCharView*, void); DECL_LINK(InsertClickHdl, weld::Button&, void); - DECL_STATIC_LINK(SvxCharacterMap, LoseFocusHdl, weld::Widget&, void); DECL_LINK(FavSelectHdl, weld::Button&, void); DECL_LINK(SearchUpdateHdl, weld::Entry&, void); DECL_LINK(SearchFieldGetFocusHdl, weld::Widget&, void); |