diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-19 16:55:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-19 16:55:06 +0200 |
commit | 8f30da6386fa414b9fe4c704b294a978df77347b (patch) | |
tree | 980e4018acff7a24a6399e33d7e1897fa6c9308c /sfx2 | |
parent | 9e310a4705ce956551059040696166aefb2388cb (diff) |
Some clang-tidy misc-move-constructor-init
...by turning the relevant ctor parameters into "const &".
Change-Id: Ia8d0aba5da10ad6b25f8689e2281e45b3d71c1fc
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/filtergrouping.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 374ece4a8274..bcf06eb745b5 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -530,7 +530,7 @@ namespace sfx2 struct FindGroupEntry : public ::std::unary_function< MapGroupEntry2GroupEntry::value_type, sal_Bool > { FilterGroupEntryReferrer::mapped_type aLookingFor; - explicit FindGroupEntry( FilterGroupEntryReferrer::mapped_type _rLookingFor ) : aLookingFor( _rLookingFor ) { } + explicit FindGroupEntry( FilterGroupEntryReferrer::mapped_type const & _rLookingFor ) : aLookingFor( _rLookingFor ) { } bool operator() ( const MapGroupEntry2GroupEntry::value_type& _rMapEntry ) { |