diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-08 16:33:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 08:21:18 +0200 |
commit | 4cbcec9ed4c51277b00c155a5fa097880c0dee4b (patch) | |
tree | 7ae7630e51f37d0d60bae4640b4dcd047eaaee29 /sfx2/source/appl/shellimpl.cxx | |
parent | f3a43c723eaf751d5ee28b13c0cc6f8014094bbe (diff) |
clang-tidy performance-unnecessary-value-param in sfx2
Change-Id: I035eec1f3701c48b9a85c60400c68f9365299b48
Diffstat (limited to 'sfx2/source/appl/shellimpl.cxx')
-rw-r--r-- | sfx2/source/appl/shellimpl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/shellimpl.cxx b/sfx2/source/appl/shellimpl.cxx index 84ed3de3f57d..2ef1a7fe31c2 100644 --- a/sfx2/source/appl/shellimpl.cxx +++ b/sfx2/source/appl/shellimpl.cxx @@ -39,7 +39,7 @@ SfxObjectShell* SfxObjectShellArr_Impl::operator[] ( size_t i ) return maData[i]; } -void SfxObjectShellArr_Impl::erase( iterator it ) +void SfxObjectShellArr_Impl::erase( const iterator& it ) { maData.erase(it); } @@ -74,7 +74,7 @@ SfxViewFrame* SfxViewFrameArr_Impl::operator[] ( size_t i ) return maData[i]; } -void SfxViewFrameArr_Impl::erase( iterator it ) +void SfxViewFrameArr_Impl::erase( const iterator& it ) { maData.erase(it); } @@ -109,7 +109,7 @@ SfxViewShell* SfxViewShellArr_Impl::operator[] ( size_t i ) return maData[i]; } -void SfxViewShellArr_Impl::erase( iterator it ) +void SfxViewShellArr_Impl::erase( const iterator& it ) { maData.erase(it); } |