summaryrefslogtreecommitdiff
path: root/basic/source/basmgr/basicmanagerrepository.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 10:20:19 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 11:38:57 +0200
commitf678b82f0e4dea47dfc8938f01442b6eb1ce23ad (patch)
treeac8e998a3857c4d8a51cfb90e7644de2f40e3829 /basic/source/basmgr/basicmanagerrepository.cxx
parentbfff081e74ad06a7e353669eec345c6440db57cb (diff)
clang-tidy performance-unnecessary-value-param in basic
Change-Id: I997213ca28efc2df04d454ffaf3c81c9cbad09ac
Diffstat (limited to 'basic/source/basmgr/basicmanagerrepository.cxx')
-rw-r--r--basic/source/basmgr/basicmanagerrepository.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/basmgr/basicmanagerrepository.cxx b/basic/source/basmgr/basicmanagerrepository.cxx
index 559ed3ab5e44..7737ec8e6874 100644
--- a/basic/source/basmgr/basicmanagerrepository.cxx
+++ b/basic/source/basmgr/basicmanagerrepository.cxx
@@ -183,7 +183,7 @@ namespace basic
/** removes the Model/BasicManager pair given by iterator from our store
*/
- void impl_removeFromRepository( BasicManagerStore::iterator _pos );
+ void impl_removeFromRepository( const BasicManagerStore::iterator& _pos );
private:
StarBASIC* impl_getDefaultAppBasicLibrary();
@@ -520,7 +520,7 @@ namespace basic
}
- void ImplRepository::impl_removeFromRepository( BasicManagerStore::iterator _pos )
+ void ImplRepository::impl_removeFromRepository( const BasicManagerStore::iterator& _pos )
{
OSL_PRECOND( _pos != m_aStore.end(), "ImplRepository::impl_removeFromRepository: invalid position!" );