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

Jean-Baptiste Faure jbfaure at libreoffice.org
Tue Mar 28 06:36:35 UTC 2017


 include/unotools/eventcfg.hxx       |    2 ++
 unotools/source/config/eventcfg.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 7c0054f1b7c3c475bff7a5adfdea0feaecf20748
Author: Jean-Baptiste Faure <jbfaure at libreoffice.org>
Date:   Mon Mar 27 22:08:26 2017 +0200

    tdf#105843 : restore Application Start and Stop events
    
    Change-Id: Ifc99fcf84182edb49cac741f7bb10a1b239d5703
    Reviewed-on: https://gerrit.libreoffice.org/35779
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/unotools/eventcfg.hxx b/include/unotools/eventcfg.hxx
index 4a855994f552..fe68e3e679dc 100644
--- a/include/unotools/eventcfg.hxx
+++ b/include/unotools/eventcfg.hxx
@@ -31,6 +31,8 @@
 
 enum class GlobalEventId
 {
+    STARTAPP,
+    CLOSEAPP,
     DOCCREATED,
     CREATEDOC,
     LOADFINISHED,
diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx
index 998c4312f837..2e47efdd2905 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -46,6 +46,8 @@ using namespace ::com::sun::star;
 
 static o3tl::enumarray<GlobalEventId, const char*> pEventAsciiNames =
 {
+"OnStartApp",
+"OnCloseApp",
 "OnCreate",
 "OnNew",
 "OnLoadFinished",


More information about the Libreoffice-commits mailing list