diff options
author | Andreas Bregas <ab@openoffice.org> | 2001-11-20 17:03:39 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2001-11-20 17:03:39 +0000 |
commit | e7ddfeac71aee7d54708449782273a7a3840d508 (patch) | |
tree | 9b583982f2522177bb90057916f7d5f2fd94b6c2 /sfx2/source/appl/appbas.cxx | |
parent | 7215899e20e1207ee16857f7ced1ac0f40d868ea (diff) |
#92172# Password handling for 5.0 documents
Diffstat (limited to 'sfx2/source/appl/appbas.cxx')
-rw-r--r-- | sfx2/source/appl/appbas.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index 2a42d465ee..ef71962dae 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -2,9 +2,9 @@ * * $RCSfile: appbas.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: ab $ $Date: 2001-11-07 18:06:54 $ + * last change: $Author: ab $ $Date: 2001-11-20 18:03:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -714,11 +714,9 @@ BasicManager* SfxApplication::GetBasicManager() Reference< XLibraryContainer > xDialogCont = static_cast< XLibraryContainer* >( pDialogCont ); pImp->pDialogLibContainer = pDialogCont; - BasicManagerImpl* pBasMgrImpl = new BasicManagerImpl(); - pBasMgrImpl->xScriptCont = xBasicCont; - pBasMgrImpl->xDialogCont = xDialogCont; - pBasicManager->SetImpl( pBasMgrImpl ); - + LibraryContainerInfo* pInfo = new LibraryContainerInfo + ( xBasicCont, xDialogCont, static_cast< OldBasicPassword* >( pBasicCont ) ); + pBasicManager->SetLibraryContainerInfo( pInfo ); Any aBasicCont; aBasicCont <<= xBasicCont; |