diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-10 11:07:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-13 09:37:12 +0200 |
commit | ee094bd46f55118993c72af719dc046476f9f311 (patch) | |
tree | d4658be34517150ec7881e7929e38f533ff0b393 /basic/source/basmgr | |
parent | 26ec80f47df1b32c5e1ae8c96d597ef8c90fee86 (diff) |
loplugin:staticmethods
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
Diffstat (limited to 'basic/source/basmgr')
-rw-r--r-- | basic/source/basmgr/basicmanagerrepository.cxx | 6 | ||||
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/basmgr/basicmanagerrepository.cxx b/basic/source/basmgr/basicmanagerrepository.cxx index 45b63f2fcaa3..9da674b4c603 100644 --- a/basic/source/basmgr/basicmanagerrepository.cxx +++ b/basic/source/basmgr/basicmanagerrepository.cxx @@ -148,7 +148,7 @@ namespace basic <arg>_out_rStorage</arg> might or might not be <NULL/>), <FALSE/> otherwise. In the latter case, processing this document should stop. */ - bool impl_getDocumentStorage_nothrow( const Reference< XModel >& _rxDocument, Reference< XStorage >& _out_rStorage ); + static bool impl_getDocumentStorage_nothrow( const Reference< XModel >& _rxDocument, Reference< XStorage >& _out_rStorage ); /** retrieves the containers for Basic and Dialog libraries for a given document @@ -164,7 +164,7 @@ namespace basic @return <TRUE/> if and only if both containers exist, and could successfully be retrieved */ - bool impl_getDocumentLibraryContainers_nothrow( + static bool impl_getDocumentLibraryContainers_nothrow( const Reference< XModel >& _rxDocument, Reference< XPersistentLibraryContainer >& _out_rxBasicLibraries, Reference< XPersistentLibraryContainer >& _out_rxDialogLibraries @@ -172,7 +172,7 @@ namespace basic /** initializes the given library containers, which belong to a document */ - void impl_initDocLibraryContainers_nothrow( + static void impl_initDocLibraryContainers_nothrow( const Reference< XPersistentLibraryContainer >& _rxBasicLibraries, const Reference< XPersistentLibraryContainer >& _rxDialogLibraries ); diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 6d491e3f394e..795b97207ef4 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1059,7 +1059,7 @@ bool BasicManager::ImpLoadLibrary( BasicLibInfo* pLibInfo, SotStorage* pCurStora return false; } -bool BasicManager::ImplEncryptStream( SvStream& rStrm ) const +bool BasicManager::ImplEncryptStream( SvStream& rStrm ) { sal_Size nPos = rStrm.Tell(); sal_uInt32 nCreator; @@ -1114,7 +1114,7 @@ bool BasicManager::ImplLoadBasic( SvStream& rStrm, StarBASICRef& rOldBasic ) con return bLoaded; } -void BasicManager::CheckModules( StarBASIC* pLib, bool bReference ) const +void BasicManager::CheckModules( StarBASIC* pLib, bool bReference ) { if ( !pLib ) { @@ -1128,7 +1128,7 @@ void BasicManager::CheckModules( StarBASIC* pLib, bool bReference ) const DBG_ASSERT( pModule, "Module not received!" ); if ( !pModule->IsCompiled() && !StarBASIC::GetErrorCode() ) { - pLib->Compile( pModule ); + StarBASIC::Compile( pModule ); } } |