summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-09-19 06:56:44 +0000
committerRüdiger Timm <rt@openoffice.org>2003-09-19 06:56:44 +0000
commit533e4e0d72f82c98da951173375f8f5a676b25c8 (patch)
treec38905b7cea76dba0e964dd82a5bd256a5c5b202 /sfx2
parent90bfdef962331d6767c798bd570c46d200eccb1a (diff)
INTEGRATION: CWS fwkq1 (1.22.40); FILE MERGED
2003/07/14 18:00:03 mba 1.22.40.1: #110843#: get rid of factories
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appquit.cxx26
1 files changed, 3 insertions, 23 deletions
diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx
index b9f65d4ce7d5..ba2ec811fb69 100644
--- a/sfx2/source/appl/appquit.cxx
+++ b/sfx2/source/appl/appquit.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appquit.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: vg $ $Date: 2003-05-15 10:53:25 $
+ * last change: $Author: rt $ $Date: 2003-09-19 07:56:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -190,13 +190,6 @@ BOOL SfxApplication::QueryExit_Impl()
// alles canceln was zu canceln ist
GetCancelManager()->Cancel(TRUE);
- // direkte Benutzung is beendet
- if ( pAppData_Impl->bDirectAliveCount )
- {
- SvFactory::DecAliveCount();
- pAppData_Impl->bDirectAliveCount = FALSE;
- }
-
/*
SfxObjectShell *pLastDocSh = SfxObjectShell::GetFirst();
if ( bQuit )
@@ -232,18 +225,6 @@ void SfxApplication::Deinitialize()
if ( pAppData_Impl->pCancelMgr )
pAppData_Impl->EndListening( *pAppData_Impl->pCancelMgr );
-/*
- // Falls noch mal zwischendurch eine Task ( BasicIDE! ) angelegt wurde ...
- do
- {
- SfxObjectShell* pFirst = SfxObjectShell::GetFirst();
- if ( pFirst )
- pFirst->DoClose();
- else
- break;
- }
- while ( sal_True );
-*/
//!Wait();
StarBASIC::Stop();
@@ -258,7 +239,6 @@ void SfxApplication::Deinitialize()
DELETEZ( pAppData_Impl->pTemplates );
- SvFactory::ClearDemandObjects();
DELETEZ(pImp->pTemplateDlg);
SetViewFrame(0);
bDowning = FALSE;
@@ -288,7 +268,6 @@ void SfxApplication::Deinitialize()
if( pImp->pDialogLibContainer )
pImp->pDialogLibContainer->release();
- SvFactory::ClearDemandObjects();
bInExit = FALSE;
DBG_ASSERT( pViewFrame == 0, "active foreign ViewFrame" );
@@ -300,6 +279,7 @@ void SfxApplication::Deinitialize()
DELETEZ(pImp->pAutoSaveTimer);
DELETEZ(pAppDispat);
DELETEZ(pImp->pSfxResManager);
+ DELETEZ(pImp->pOfaResMgr);
// ab hier d"urfen keine SvObjects mehr existieren
DELETEX(pAppData_Impl->pMatcher);