[Libreoffice-commits] core.git: Branch 'libreoffice-5-3-2' - include/unotools unotools/source

Jean-Baptiste Faure jbfaure at libreoffice.org
Wed Mar 29 17:32:27 UTC 2017


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

New commits:
commit 87f0803d1dfb0244ea2a473b55e87f6f2f1e8670
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>
    (cherry picked from commit 7c0054f1b7c3c475bff7a5adfdea0feaecf20748)
    Reviewed-on: https://gerrit.libreoffice.org/35812
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    (cherry picked from commit 98399c291239e309769fe9a1099655343b21ccd2)
    Reviewed-on: https://gerrit.libreoffice.org/35835
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
    Reviewed-by: Jean-Baptiste Faure <jbfaure at libreoffice.org>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/include/unotools/eventcfg.hxx b/include/unotools/eventcfg.hxx
index 03ccdd4181d2..51f54ccd4dda 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 f9e846ea2bf6..fe14059ab05f 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