summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basic/source/basmgr/basicmanagerrepository.cxx4
-rw-r--r--include/basic/basicmanagerrepository.hxx6
-rw-r--r--sfx2/source/appl/appbas.cxx2
3 files changed, 4 insertions, 8 deletions
diff --git a/basic/source/basmgr/basicmanagerrepository.cxx b/basic/source/basmgr/basicmanagerrepository.cxx
index fd2dc803debc..559ed3ab5e44 100644
--- a/basic/source/basmgr/basicmanagerrepository.cxx
+++ b/basic/source/basmgr/basicmanagerrepository.cxx
@@ -591,9 +591,9 @@ namespace basic
}
- BasicManager* BasicManagerRepository::getApplicationBasicManager( bool _bCreate )
+ BasicManager* BasicManagerRepository::getApplicationBasicManager()
{
- return ImplRepository::Instance().getApplicationBasicManager( _bCreate );
+ return ImplRepository::Instance().getApplicationBasicManager( true/*_bCreate*/ );
}
diff --git a/include/basic/basicmanagerrepository.hxx b/include/basic/basicmanagerrepository.hxx
index 1d5545f7f394..4104a4e1e12b 100644
--- a/include/basic/basicmanagerrepository.hxx
+++ b/include/basic/basicmanagerrepository.hxx
@@ -96,16 +96,12 @@ namespace basic
/** returns the application-wide BasicManager
- @param _bCreate
- determines whether the BasicManager should be created (<TRUE/>) if it
- does not yet exist.
-
@attention
If the BasicManager is newly created, then it is still owned by the repository.
In particular, you are not allowed to delete it. Instead, call resetApplicationBasicManager
to release the BasicManager.
*/
- static BasicManager* getApplicationBasicManager( bool _bCreate );
+ static BasicManager* getApplicationBasicManager();
/** resets the application-wide BasicManager to <NULL/>
*/
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx
index 2e8876b6ed13..dd743fe83a3b 100644
--- a/sfx2/source/appl/appbas.cxx
+++ b/sfx2/source/appl/appbas.cxx
@@ -101,7 +101,7 @@ BasicManager* SfxApplication::GetBasicManager()
#else
if (utl::ConfigManager::IsAvoidConfig())
return nullptr;
- return BasicManagerRepository::getApplicationBasicManager( true );
+ return BasicManagerRepository::getApplicationBasicManager();
#endif
}