summaryrefslogtreecommitdiff
path: root/basic/source/basmgr
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-09 12:37:42 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-09 12:44:14 +0200
commitb21ba53be7e598de9c054d16aae8426301d1dbba (patch)
treed1a4622c942445fae0c82fade96e3c7bb448da70 /basic/source/basmgr
parentf67dc04cfdd9e63a45ec6c8bc00829bce8f17d4b (diff)
loplugin:staticmethods
Change-Id: I46d24d74e48806368f1726688747f0872100c438
Diffstat (limited to 'basic/source/basmgr')
-rw-r--r--basic/source/basmgr/basicmanagerrepository.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/basmgr/basicmanagerrepository.cxx b/basic/source/basmgr/basicmanagerrepository.cxx
index 9635fb2e3ddc..8a6032f84d21 100644
--- a/basic/source/basmgr/basicmanagerrepository.cxx
+++ b/basic/source/basmgr/basicmanagerrepository.cxx
@@ -82,8 +82,8 @@ namespace basic
BasicManager* getDocumentBasicManager( const Reference< XModel >& _rxDocumentModel );
BasicManager* getOrCreateApplicationBasicManager();
- BasicManager* getApplicationBasicManager() const;
- void setApplicationBasicManager( BasicManager* _pBasicManager );
+ static BasicManager* getApplicationBasicManager();
+ static void setApplicationBasicManager( BasicManager* _pBasicManager );
void registerCreationListener( BasicManagerCreationListener& _rListener );
void revokeCreationListener( BasicManagerCreationListener& _rListener );
@@ -247,7 +247,7 @@ namespace basic
return pAppManager;
}
- BasicManager* ImplRepository::getApplicationBasicManager() const
+ BasicManager* ImplRepository::getApplicationBasicManager()
{
SolarMutexGuard g;
@@ -617,7 +617,7 @@ namespace basic
void BasicManagerRepository::resetApplicationBasicManager()
{
- ImplRepository::Instance().setApplicationBasicManager( nullptr );
+ ImplRepository::setApplicationBasicManager( nullptr );
}
void BasicManagerRepository::registerCreationListener( BasicManagerCreationListener& _rListener )