[Libreoffice-commits] core.git: include/sfx2 sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Aug 24 13:02:52 UTC 2018


 include/sfx2/charmappopup.hxx       |    1 +
 sfx2/source/dialog/charmappopup.cxx |    6 ++++++
 2 files changed, 7 insertions(+)

New commits:
commit 80d6cba424439803704dbddf4fc832bd73e90e97
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Thu Aug 23 12:57:58 2018 -0800
Commit:     Maxim Monastirsky <momonasmon at 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 <momonasmon at 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: */


More information about the Libreoffice-commits mailing list