Kaydet (Commit) b9d06c89 authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Caolán McNamara

tdf#120703 (PVS): Recurring check.

V571 This condition was already verified in line 224.

Change-Id: I75a29c49c82c78d3afd1c900743b42af93817f84
Reviewed-on: https://gerrit.libreoffice.org/62046Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 360f389e
......@@ -221,13 +221,10 @@ uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry*
}
}
if( pMap->nMoreFlags & PropertyMoreFlags::METRIC_ITEM )
// check for needed metric translation
if(pMap->nMoreFlags & PropertyMoreFlags::METRIC_ITEM && eMapUnit != MapUnit::Map100thMM)
{
// check for needed metric translation
if(pMap->nMoreFlags & PropertyMoreFlags::METRIC_ITEM && eMapUnit != MapUnit::Map100thMM)
{
SvxUnoConvertToMM( eMapUnit, aVal );
}
SvxUnoConvertToMM( eMapUnit, aVal );
}
if ( pMap->aType.getTypeClass() == uno::TypeClass_ENUM &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment