summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textdat2.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-05 08:34:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-05 09:22:51 +0200
commit17a2c9e8e2361de27013a25e51f3a3ca729f1b31 (patch)
tree1c89bc104e5630fb71ff0a5b12c464ca2aceebc3 /vcl/source/edit/textdat2.hxx
parent8fa4b0429b514c0d696ebfc2e47418292d7ec367 (diff)
clang-tidy performance-unnecessary-value-param
Change-Id: I6ed8c54c7c45931d91709cc818f2483c70197192 Reviewed-on: https://gerrit.libreoffice.org/38400 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/edit/textdat2.hxx')
-rw-r--r--vcl/source/edit/textdat2.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/edit/textdat2.hxx b/vcl/source/edit/textdat2.hxx
index d74541e7e75b..d715845d45e6 100644
--- a/vcl/source/edit/textdat2.hxx
+++ b/vcl/source/edit/textdat2.hxx
@@ -87,8 +87,8 @@ public:
std::vector<TETextPortion*>::const_iterator end() const;
bool empty() const;
std::size_t size() const;
- std::vector<TETextPortion*>::iterator erase( std::vector<TETextPortion*>::iterator aIter );
- std::vector<TETextPortion*>::iterator insert( std::vector<TETextPortion*>::iterator aIter,
+ std::vector<TETextPortion*>::iterator erase( const std::vector<TETextPortion*>::iterator& aIter );
+ std::vector<TETextPortion*>::iterator insert( const std::vector<TETextPortion*>::iterator& aIter,
TETextPortion* pTP );
void push_back( TETextPortion* pTP );