summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-25 13:51:15 +0200
committerNoel Grandin <noel@peralex.com>2015-11-25 13:57:29 +0200
commit1f86864e97bea96fdc608f8c8b93024ad4684d51 (patch)
treee5ec06a2148b26bbc0cdd420de8b82b654547ca3 /idl
parent3e6ba91e2d6d362f4af91566e740f5dbc310e026 (diff)
loplugin:unusedfields various
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/object.hxx4
-rw-r--r--idl/source/objects/slot.cxx4
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