diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-25 13:51:15 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-12 22:06:26 -0400 |
commit | 892124072c459ddf818557a3eb0f78c6dc815a52 (patch) | |
tree | 53ce308ca491a221b2128377b7e9a80e65fdafdf /idl | |
parent | f8f5e69fcfb76df2bf52cf6dbf01a8c6e75a440d (diff) |
loplugin:unusedfields various
(cherry picked from commit 1f86864e97bea96fdc608f8c8b93024ad4684d51)
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
Diffstat (limited to 'idl')
-rw-r--r-- | idl/inc/object.hxx | 4 | ||||
-rw-r--r-- | idl/source/objects/slot.cxx | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/idl/inc/object.hxx b/idl/inc/object.hxx index 28502888da6f..650ee4efa65e 100644 --- a/idl/inc/object.hxx +++ b/idl/inc/object.hxx @@ -27,10 +27,8 @@ struct SvSlotElement { SvMetaSlotRef xSlot; - OString aPrefix; - SvSlotElement( SvMetaSlot * pS, const OString& rPrefix ) + SvSlotElement( SvMetaSlot * pS ) : xSlot( pS ) - , aPrefix( rPrefix ) { } }; diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 774bcdae5618..987601683c70 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -544,11 +544,11 @@ void SvMetaSlot::Insert( SvSlotElementList& rList, const OString& rPrefix, { SvSlotElementList::iterator it = rList.begin(); std::advance( it, nPos ); - rList.insert( it, new SvSlotElement( this, rPrefix ) ); + rList.insert( it, new SvSlotElement( this ) ); } else { - rList.push_back( new SvSlotElement( this, rPrefix ) ); + rList.push_back( new SvSlotElement( this ) ); } // iron out EnumSlots |