remove unused variable
aSet unused since
2ebd79b3d2
loplugin:constantfunction: svl
Change-Id: I48faf8775465ec1d5e3df94343a4373a87d03e6d
Reviewed-on: https://gerrit.libreoffice.org/30310
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
committed by
Noel Grandin
parent
883172375d
commit
f53cd8826b
@@ -187,15 +187,12 @@ void SfxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry& rEn
|
||||
{
|
||||
pItem->QueryValue( rAny, rEntry.nMemberId );
|
||||
}
|
||||
else
|
||||
else if(0 == (rEntry.nFlags & PropertyAttribute::MAYBEVOID))
|
||||
{
|
||||
SfxItemSet aSet(*rSet.GetPool(), rEntry.nWID, rEntry.nWID);
|
||||
if(0 == (rEntry.nFlags & PropertyAttribute::MAYBEVOID))
|
||||
throw RuntimeException(
|
||||
"Property not found in ItemSet but not MAYBEVOID?", nullptr);
|
||||
throw RuntimeException(
|
||||
"Property not found in ItemSet but not MAYBEVOID?", nullptr);
|
||||
}
|
||||
|
||||
|
||||
// convert general SfxEnumItem values to specific values
|
||||
if( rEntry.aType.getTypeClass() == TypeClass_ENUM &&
|
||||
rAny.getValueTypeClass() == TypeClass_LONG )
|
||||
|
Reference in New Issue
Block a user