diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2009-09-18 12:52:22 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2009-09-18 12:52:22 +0000 |
commit | dae422e1ae88908ecaccc1e6e8836c75abd82e8b (patch) | |
tree | ff595950fd3557bae81e54c9f5ba533d0844a750 | |
parent | 3e6897e97e0a1e98fbc367da55d2bbb95f76304d (diff) |
#i10000# buildfix
-rw-r--r-- | sfx2/source/doc/objxtor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index acc91515df..72762e79df 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -582,8 +582,8 @@ sal_uInt16 SfxObjectShell::PrepareClose } } - SFX_APP()->NotifyEvent( SfxEventHint(SFX_EVENT_PREPARECLOSEDOC, this) ); - + SFX_APP()->NotifyEvent( SfxEventHint(SFX_EVENT_PREPARECLOSEDOC, GlobalEventConfig::GetEventName(STR_EVENT_PREPARECLOSEDOC), this) ); + if( GetCreateMode() == SFX_CREATE_MODE_EMBEDDED ) { pImp->bPreparedForClose = sal_True; |