loplugin:flatten in idl
Change-Id: I7e8fe338a366d146c7951fe54f74cc5e42bde039 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91833 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -386,9 +386,9 @@ void SvMetaSlot::WriteSlotStubs( const OString& rShellName,
|
|||||||
}
|
}
|
||||||
|
|
||||||
aMethodName = GetStateMethod();
|
aMethodName = GetStateMethod();
|
||||||
if (!aMethodName.isEmpty() &&
|
if (aMethodName.isEmpty() || aMethodName == "NoState")
|
||||||
aMethodName != "NoState")
|
return;
|
||||||
{
|
|
||||||
bool bIn = false;
|
bool bIn = false;
|
||||||
for ( size_t n=0; n < rList.size(); n++ )
|
for ( size_t n=0; n < rList.size(); n++ )
|
||||||
{
|
{
|
||||||
@@ -409,7 +409,6 @@ void SvMetaSlot::WriteSlotStubs( const OString& rShellName,
|
|||||||
.WriteChar( ')' ) << endl;
|
.WriteChar( ')' ) << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
|
void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
|
||||||
const OString& rSlotId,
|
const OString& rSlotId,
|
||||||
|
@@ -431,8 +431,9 @@ void SvIdlParser::ReadInterfaceOrShellMethod( SvMetaAttribute& rAttr )
|
|||||||
xT->SetRef(rAttr.GetType() );
|
xT->SetRef(rAttr.GetType() );
|
||||||
rAttr.aType = xT;
|
rAttr.aType = xT;
|
||||||
rAttr.aType->SetType( MetaTypeType::Method );
|
rAttr.aType->SetType( MetaTypeType::Method );
|
||||||
if (!ReadIf(')'))
|
if (ReadIf(')'))
|
||||||
{
|
return;
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
tools::SvRef<SvMetaAttribute> xParamAttr( new SvMetaAttribute() );
|
tools::SvRef<SvMetaAttribute> xParamAttr( new SvMetaAttribute() );
|
||||||
@@ -445,7 +446,6 @@ void SvIdlParser::ReadInterfaceOrShellMethod( SvMetaAttribute& rAttr )
|
|||||||
}
|
}
|
||||||
Read(')');
|
Read(')');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void SvIdlParser::ReadSlotId(SvIdentifier& rSlotId)
|
void SvIdlParser::ReadSlotId(SvIdentifier& rSlotId)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user