diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-20 10:34:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-21 08:32:47 +0200 |
commit | 5abc669599001bf888b97c4d3c2715e1fb7523b9 (patch) | |
tree | 2407c6fc040a795e6ffc69de02ba940285c04c7f /basic | |
parent | 5bb308a9ad16f6002486a60e4a753693818580b6 (diff) |
new plugin stylepolice
check for local variables which follow our member field naming
convention, which is highly confusing
Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 8 | ||||
-rw-r--r-- | basic/source/classes/sb.cxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 65b836d4fa13..804230b3b002 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -220,9 +220,9 @@ void BasMgrContainerListenerImpl::addLibraryModulesImpl( BasicManager* pMgr, uno::Reference< vba::XVBAModuleInfo > xVBAModuleInfo( xLibNameAccess, uno::UNO_QUERY ); if ( xVBAModuleInfo.is() && xVBAModuleInfo->hasModuleInfo( aModuleName ) ) { - ModuleInfo mInfo = xVBAModuleInfo->getModuleInfo( aModuleName ); + ModuleInfo aInfo = xVBAModuleInfo->getModuleInfo( aModuleName ); OSL_TRACE("#addLibraryModulesImpl - aMod"); - pLib->MakeModule( aModuleName, mInfo, aMod ); + pLib->MakeModule( aModuleName, aInfo, aMod ); } else pLib->MakeModule( aModuleName, aMod ); @@ -279,8 +279,8 @@ void SAL_CALL BasMgrContainerListenerImpl::elementInserted( const container::Con uno::Reference< vba::XVBAModuleInfo > xVBAModuleInfo( Event.Source, uno::UNO_QUERY ); if ( xVBAModuleInfo.is() && xVBAModuleInfo->hasModuleInfo( aName ) ) { - ModuleInfo mInfo = xVBAModuleInfo->getModuleInfo( aName ); - pLib->MakeModule( aName, mInfo, aMod ); + ModuleInfo aInfo = xVBAModuleInfo->getModuleInfo( aName ); + pLib->MakeModule( aName, aInfo, aMod ); } else pLib->MakeModule( aName, aMod ); diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 18cc9906fbbb..db0acd917875 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1040,9 +1040,9 @@ void StarBASIC::implClearDependingVarsOnDelete( StarBASIC* pDeletedBasic ) SbModule* StarBASIC::MakeModule( const OUString& rName, const OUString& rSrc ) { - ModuleInfo mInfo; - mInfo.ModuleType = ModuleType::NORMAL; - return MakeModule( rName, mInfo, rSrc ); + ModuleInfo aInfo; + aInfo.ModuleType = ModuleType::NORMAL; + return MakeModule( rName, aInfo, rSrc ); } SbModule* StarBASIC::MakeModule( const OUString& rName, const ModuleInfo& mInfo, const OUString& rSrc ) { |