summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/uno/unoipset.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index 456ac6358115..1f84b114a810 100644
--- a/editeng/source/uno/unoipset.cxx
+++ b/editeng/source/uno/unoipset.cxx
@@ -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 &&