summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-28 11:27:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-29 14:37:12 +0200
commit17c936bca548acc93d6b2e70593bc711c0e6b8a4 (patch)
treeaf43f36650ea199297988d705903d32501452605 /cppuhelper
parentd4992bb36efb15da91a70e86e68a80f13b97e947 (diff)
loplugin:unusedfields-in-constructor in various
Change-Id: Ie0fb647938e3cf730976fb2e435b92bfd67ef645 Reviewed-on: https://gerrit.libreoffice.org/54998 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/propertysetmixin.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/cppuhelper/source/propertysetmixin.cxx b/cppuhelper/source/propertysetmixin.cxx
index 88e104d90453..84f2432b7db7 100644
--- a/cppuhelper/source/propertysetmixin.cxx
+++ b/cppuhelper/source/propertysetmixin.cxx
@@ -406,7 +406,6 @@ private:
bool isDefaulted, bool wrapOptional);
css::uno::Reference< css::uno::XComponentContext > const & m_context;
- css::uno::Sequence< rtl::OUString > m_absentOptional;
css::uno::Type m_type;
css::uno::Reference< css::reflection::XIdlClass > m_idlClass;
};
@@ -417,7 +416,7 @@ PropertySetMixinImpl::Impl::Impl(
css::uno::Sequence< rtl::OUString > const & absentOptional,
css::uno::Type const & type):
implements(theImplements), disposed(false), m_context(context),
- m_absentOptional(absentOptional), m_type(type)
+ m_type(type)
{
assert(context.is());
assert(
@@ -444,7 +443,7 @@ PropertySetMixinImpl::Impl::Impl(
nullptr, anyEx );
}
std::vector< rtl::OUString > handleNames;
- initProperties(ifc, m_absentOptional, &handleNames);
+ initProperties(ifc, absentOptional, &handleNames);
std::vector< rtl::OUString >::size_type size = handleNames.size();
assert(size <= SAL_MAX_INT32);
handleMap.realloc(static_cast< sal_Int32 >(size));