diff options
author | Andreas Bregas <ab@openoffice.org> | 2001-06-25 10:19:35 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2001-06-25 10:19:35 +0000 |
commit | 65f20555013c97e65443e0c5faa34534bf987c99 (patch) | |
tree | cd5fcf5fc93da4bc7abf35e5c45aad38f189a9dc /sfx2 | |
parent | df5bfa0023fd9d7d3f6a38ebf38fe2878375b774 (diff) |
#88562# SfxBasicManager -> BasicManager
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/doc/objxtor.cxx | 19 |
2 files changed, 13 insertions, 14 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 6c823fd62f27..b9133cee9669 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -2,9 +2,9 @@ * * $RCSfile: objcont.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: mba $ $Date: 2001-06-21 15:43:22 $ + * last change: $Author: ab $ $Date: 2001-06-25 11:19:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -588,7 +588,7 @@ BOOL SfxObjectShell::SaveInfoAndConfig_Impl( SvStorageRef pNewStg ) aURL = URIHelper::SmartRelToAbs( aURL ); } #ifndef TFPLUGCOMM - SfxBasicManager::CopyBasicData( GetStorage(), aURL, pNewStg ); + BasicManager::CopyBasicData( GetStorage(), aURL, pNewStg ); #endif } @@ -657,7 +657,7 @@ BOOL SfxObjectShell::SaveInfoAndConfig_Impl( SvStorageRef pNewStg ) aURL = URIHelper::SmartRelToAbs( aURL ); } #ifndef TFPLUGCOMM - SfxBasicManager::CopyBasicData( GetStorage(), aURL, pNewStg ); + BasicManager::CopyBasicData( GetStorage(), aURL, pNewStg ); #endif } #endif diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index 074991460926..b682da73318a 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -2,9 +2,9 @@ * * $RCSfile: objxtor.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: tbe $ $Date: 2001-06-12 15:58:06 $ + * last change: $Author: ab $ $Date: 2001-06-25 11:16:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -638,7 +638,7 @@ void SfxObjectShell::InitBasicManager_Impl DBG_ASSERT( !pImp->bBasicInitialized && !pImp->pBasicMgr, "Lokaler BasicManager bereits vorhanden"); pImp->bBasicInitialized = TRUE; - SfxBasicManager* pSfxBasicManager; + BasicManager* pBasicManager; if ( pStor ) { String aOldURL = INetURLObject::GetBaseURL(); @@ -661,7 +661,7 @@ void SfxObjectShell::InitBasicManager_Impl #else String aAppBasicDir = SvtPathOptions().GetBasicPath(); #endif - pImp->pBasicMgr = pSfxBasicManager = new SfxBasicManager( *pStor, pAppBasic, &aAppBasicDir ); + pImp->pBasicMgr = pBasicManager = new BasicManager( *pStor, pAppBasic, &aAppBasicDir ); if ( pImp->pBasicMgr->HasErrors() ) { // handle errors @@ -690,7 +690,7 @@ void SfxObjectShell::InitBasicManager_Impl // create new BASIC-manager StarBASIC *pBas = new StarBASIC(pAppBasic); pBas->SetFlag( SBX_EXTSEARCH ); - pImp->pBasicMgr = pSfxBasicManager = new SfxBasicManager( pBas ); + pImp->pBasicMgr = pBasicManager = new BasicManager( pBas ); } // Standard lib name @@ -698,7 +698,7 @@ void SfxObjectShell::InitBasicManager_Impl // Basic container SfxScriptLibraryContainer* pBasicCont = new SfxScriptLibraryContainer - ( DEFINE_CONST_UNICODE( "StarBasic" ), pSfxBasicManager, pStor ); + ( DEFINE_CONST_UNICODE( "StarBasic" ), pBasicManager, pStor ); pBasicCont->acquire(); // Hold via UNO Reference< XLibraryContainer > xBasicCont = static_cast< XLibraryContainer* >( pBasicCont ); if ( xBasicCont.is() && !xBasicCont->hasByName( aStdLibName ) ) @@ -714,10 +714,9 @@ void SfxObjectShell::InitBasicManager_Impl pImp->pDialogLibContainer = pDialogCont; BasicManagerImpl* pBasMgrImpl = new BasicManagerImpl(); - pBasMgrImpl->pScriptCont = pBasicCont; - pBasMgrImpl->pDialogCont = pDialogCont; - pBasMgrImpl->pDocShell = this; - pSfxBasicManager->SetImpl( pBasMgrImpl ); + pBasMgrImpl->xScriptCont = xBasicCont; + pBasMgrImpl->xDialogCont = xDialogCont; + pBasicManager->SetImpl( pBasMgrImpl ); // damit auch Dialoge etc. 'qualifiziert' angesprochen werden k"onnen |