summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Faure <jbfaure@libreoffice.org>2017-03-27 22:08:26 +0200
committerMichael Stahl <mstahl@redhat.com>2017-03-28 21:30:10 +0000
commit98399c291239e309769fe9a1099655343b21ccd2 (patch)
tree1ce154e10b906f70626bee706e38b975d333c145
parent9fd212c3fbc28868e15f5d8e8ae598ac34176991 (diff)
tdf#105843 : restore Application Start and Stop events
Change-Id: Ifc99fcf84182edb49cac741f7bb10a1b239d5703 Reviewed-on: https://gerrit.libreoffice.org/35779 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 7c0054f1b7c3c475bff7a5adfdea0feaecf20748) Reviewed-on: https://gerrit.libreoffice.org/35812 Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--include/unotools/eventcfg.hxx2
-rw-r--r--unotools/source/config/eventcfg.cxx2
2 files changed, 4 insertions, 0 deletions
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",