diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 09:46:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-24 08:35:56 +0200 |
commit | 4e51d68dc3595dae8b2519e0a023c9b1ca13a8fd (patch) | |
tree | a73bff3750fae258b3b4321cc65e68f6ff8ed0c7 /sfx2/source/control/bindings.cxx | |
parent | ec98adb2ec71882801a4db031c8e2bcf3075c5a0 (diff) |
clang-tidy performance-unnecessary-copy-init in sfx2..svtools
Change-Id: I1e92472b4aaeca1eb1372bd18d10cc9e0766dc39
Reviewed-on: https://gerrit.libreoffice.org/62251
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/control/bindings.cxx')
-rw-r--r-- | sfx2/source/control/bindings.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index 3e225cd367c6..2b2409be3369 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -1570,7 +1570,7 @@ SfxItemState SfxBindings::QueryState( sal_uInt16 nSlot, std::unique_ptr<SfxPoolI else { css::uno::Any aAny = xBind->GetStatus().State; - css::uno::Type aType = aAny.getValueType(); + const css::uno::Type& aType = aAny.getValueType(); if ( aType == cppu::UnoType<bool>::get() ) { |