diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-11-01 15:32:53 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-11-01 15:32:53 +0100 |
commit | f6bf7a32d624cdef6fe31447b82de08a9e96a5df (patch) | |
tree | 430985e066a0b5e1f06aa528c88cd8ef19e4bf3a /sfx2/source/appl/appcfg.cxx | |
parent | undoapi: made the SfxMacroConfig event more slim, by removing unused methods.... (diff) | |
download | core-f6bf7a32d624cdef6fe31447b82de08a9e96a5df.tar.gz core-f6bf7a32d624cdef6fe31447b82de08a9e96a5df.zip |
undoapi: no need to hold a SfxEventConfiguration instance at the application - it has static members only
Diffstat (limited to 'sfx2/source/appl/appcfg.cxx')
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index e6c43f413e44..4eba8285fd75 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -985,20 +985,10 @@ BOOL SfxApplication::SaveAll_Impl(BOOL bPrompt, BOOL bAutoSave) } //-------------------------------------------------------------------- -SfxEventConfiguration* SfxApplication::GetEventConfig() const -{ - if (!pAppData_Impl->pEventConfig) - pAppData_Impl->pEventConfig = new SfxEventConfiguration; - return pAppData_Impl->pEventConfig; -} - -//-------------------------------------------------------------------- //-------------------------------------------------------------------- void SfxApplication::NotifyEvent( const SfxEventHint& rEventHint, FASTBOOL bSynchron ) { - //DBG_ASSERT(pAppData_Impl->pEventConfig,"Keine Events angemeldet!"); - SfxObjectShell *pDoc = rEventHint.GetObjShell(); if ( pDoc && ( pDoc->IsPreview() || !pDoc->Get_Impl()->bInitialized ) ) return; |