diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-06 14:49:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-10 09:57:24 +0200 |
commit | 4250b25c6ae361359300ab6ccde27230f8e01039 (patch) | |
tree | 916a8420282928a92ede0760d696997550ae0840 /unodevtools/source | |
parent | 2ed9a2b641682d8612b5404bd3978ed049aa0266 (diff) |
teach unnecessaryparen loplugin about identifiers
Change-Id: I5710b51e53779c222cec0bf08cd34bda330fec4b
Reviewed-on: https://gerrit.libreoffice.org/39737
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unodevtools/source')
-rw-r--r-- | unodevtools/source/skeletonmaker/skeletoncommon.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unodevtools/source/skeletonmaker/skeletoncommon.cxx b/unodevtools/source/skeletonmaker/skeletoncommon.cxx index 7910d163d543..98d388681ddf 100644 --- a/unodevtools/source/skeletonmaker/skeletoncommon.cxx +++ b/unodevtools/source/skeletonmaker/skeletoncommon.cxx @@ -137,12 +137,10 @@ void checkAttributes(rtl::Reference< TypeManager > const & manager, (unoidl::AccumulationBasedServiceEntity::Property:: Attributes( ((i->bound - ? (unoidl::AccumulationBasedServiceEntity:: - Property::ATTRIBUTE_BOUND) + ? unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_BOUND : 0) | (i->readOnly - ? (unoidl::AccumulationBasedServiceEntity:: - Property::ATTRIBUTE_READ_ONLY) + ? unoidl::AccumulationBasedServiceEntity::Property::ATTRIBUTE_READ_ONLY : 0)))), std::vector< OUString >()); } |