summaryrefslogtreecommitdiff
path: root/idl/source/objects/slot.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-05 11:52:10 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-07 06:54:39 +0000
commit0b7337bfa049f4e3a8b87f7628025e40f5b3e825 (patch)
treef729413968d640829f92ddda0d0292cf456754af /idl/source/objects/slot.cxx
parente90f4e18fd53bd85cc953eb2e796d593ae3f79df (diff)
remove some dead code, found using LCOV
Change-Id: Ibdca0a70722290bbb560726c88e9821c3ae0af14 Reviewed-on: https://gerrit.libreoffice.org/22151 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'idl/source/objects/slot.cxx')
-rw-r--r--idl/source/objects/slot.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index 16a1d79cfc23..1a3f65caf393 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -104,11 +104,6 @@ const OString& SvMetaSlot::GetDisableFlags() const
if( !aDisableFlags.getString().isEmpty() || !GetRef() ) return aDisableFlags.getString();
return static_cast<SvMetaSlot *>(GetRef())->GetDisableFlags();
}
-const OString& SvMetaSlot::GetConfigId() const
-{
- if( !aConfigId.getString().isEmpty() || !GetRef() ) return aConfigId.getString();
- return static_cast<SvMetaSlot *>(GetRef())->GetConfigId();
-}
const OString& SvMetaSlot::GetExecMethod() const
{
if( !aExecMethod.getString().isEmpty() || !GetRef() ) return aExecMethod.getString();
@@ -342,7 +337,7 @@ bool SvMetaSlot::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm )
if( pKnownSlot )
{
SetRef( pKnownSlot );
- SetName( pKnownSlot->GetName().getString(), &rBase );
+ SetName( pKnownSlot->GetName().getString() );
bOk = SvMetaObject::ReadSvIdl( rBase, rInStm );
}
else
@@ -376,7 +371,7 @@ bool SvMetaSlot::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm )
return false;
}
- SetName( pKnownSlot->GetName().getString(), &rBase );
+ SetName( pKnownSlot->GetName().getString() );
}
else
{