summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appinit.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-23 13:23:52 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-23 13:23:52 +0000
commit20235195bb54d174b948ea5544844a2d18378413 (patch)
treeb391ca7e9d94bd5c7890a5e07383aa61b273d6f3 /sfx2/source/appl/appinit.cxx
parente624da736d114b3aa9cb71fab7d08574b6855991 (diff)
INTEGRATION: CWS fwkfinal1 (1.46.8); FILE MERGED
2005/03/15 16:15:50 mba 1.46.8.1: #i43920#: new events
Diffstat (limited to 'sfx2/source/appl/appinit.cxx')
-rw-r--r--sfx2/source/appl/appinit.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx
index cf34cbbfe7e2..8b20058c9510 100644
--- a/sfx2/source/appl/appinit.cxx
+++ b/sfx2/source/appl/appinit.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appinit.cxx,v $
*
- * $Revision: 1.47 $
+ * $Revision: 1.48 $
*
- * last change: $Author: vg $ $Date: 2005-03-23 11:06:32 $
+ * last change: $Author: vg $ $Date: 2005-03-23 14:23:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -353,6 +353,7 @@ FASTBOOL SfxApplication::Initialize_Impl()
// ::vos::OGuard aGuard( Application::GetSolarMutex() );
ResStringArray aEventNames( SfxResId( EVENT_NAMES_ARY ) );
+ // TODO/LATER: exchange confusing defines; CREATEDOC -> NEWDOC, DOCCREATED -> CREATEDOC
SfxEventConfiguration::RegisterEvent(SFX_EVENT_STARTAPP, String(SfxResId(STR_EVENT_STARTAPP)), aEventNames.GetString( 0 ) );
SfxEventConfiguration::RegisterEvent(SFX_EVENT_CLOSEAPP, String(SfxResId(STR_EVENT_CLOSEAPP)), aEventNames.GetString( 1 ) );
SfxEventConfiguration::RegisterEvent(SFX_EVENT_CREATEDOC, String(SfxResId(STR_EVENT_CREATEDOC)), aEventNames.GetString( 2 ) );
@@ -374,6 +375,8 @@ FASTBOOL SfxApplication::Initialize_Impl()
SfxEventConfiguration::RegisterEvent(SFX_EVENT_PREPARECLOSEVIEW, String(), aEventNames.GetString( 17 ) );
SfxEventConfiguration::RegisterEvent(SFX_EVENT_CLOSEVIEW, String(), aEventNames.GetString( 18 ) );
SfxEventConfiguration::RegisterEvent(SFX_EVENT_VISAREACHANGED, String(), aEventNames.GetString( 19 ) );
+ SfxEventConfiguration::RegisterEvent(SFX_EVENT_DOCCREATED, String(), aEventNames.GetString( 20 ) );
+ SfxEventConfiguration::RegisterEvent(SFX_EVENT_LOADFINISHED, String(), aEventNames.GetString( 21 ) );
// Subklasse initialisieren
bDowning = sal_False;