include/sfx2/charmappopup.hxx | 1 + sfx2/source/dialog/charmappopup.cxx | 6 ++++++ 2 files changed, 7 insertions(+)
New commits: commit 80d6cba424439803704dbddf4fc832bd73e90e97 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Thu Aug 23 12:57:58 2018 -0800 Commit: Maxim Monastirsky <momonas...@gmail.com> CommitDate: Fri Aug 24 15:02:21 2018 +0200 tdf#119416 Open Special Characters dialog on Enter key press ...when focus is on toolbar character map control Change-Id: Ie7b53b18acfe1967a635c64120591a5ff7f2dc33 Reviewed-on: https://gerrit.libreoffice.org/59528 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonas...@gmail.com> diff --git a/include/sfx2/charmappopup.hxx b/include/sfx2/charmappopup.hxx index f35e4febc113..30b187030ab9 100644 --- a/include/sfx2/charmappopup.hxx +++ b/include/sfx2/charmappopup.hxx @@ -34,6 +34,7 @@ public: virtual ~CharmapPopup() override; virtual VclPtr<SfxPopupWindow> CreatePopupWindow() override; + virtual void SAL_CALL execute( sal_Int16 /*KeyModifier*/ ) override; }; #endif diff --git a/sfx2/source/dialog/charmappopup.cxx b/sfx2/source/dialog/charmappopup.cxx index cbc62649cbc3..5332f2a6231f 100644 --- a/sfx2/source/dialog/charmappopup.cxx +++ b/sfx2/source/dialog/charmappopup.cxx @@ -44,4 +44,10 @@ VclPtr<SfxPopupWindow> CharmapPopup::CreatePopupWindow() return pControl; } +void SAL_CALL CharmapPopup::execute( sal_Int16 /*KeyModifier*/ ) +{ + com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > aArgs; + Dispatch(".uno:InsertSymbol", aArgs); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits