Lines Matching refs:rMetric
315 void SvxUnoConvertToMM( const SfxMapUnit eSourceMapUnit, uno::Any & rMetric ) throw() in SvxUnoConvertToMM() argument
322 switch( rMetric.getValueTypeClass() ) in SvxUnoConvertToMM()
325 rMetric <<= (sal_Int8)(TWIPS_TO_MM(*(sal_Int8*)rMetric.getValue())); in SvxUnoConvertToMM()
328 rMetric <<= (sal_Int16)(TWIPS_TO_MM(*(sal_Int16*)rMetric.getValue())); in SvxUnoConvertToMM()
331 rMetric <<= (sal_uInt16)(TWIPS_TO_MM(*(sal_uInt16*)rMetric.getValue())); in SvxUnoConvertToMM()
334 rMetric <<= (sal_Int32)(TWIPS_TO_MM(*(sal_Int32*)rMetric.getValue())); in SvxUnoConvertToMM()
337 rMetric <<= (sal_uInt32)(TWIPS_TO_MM(*(sal_uInt32*)rMetric.getValue())); in SvxUnoConvertToMM()
354 void SvxUnoConvertFromMM( const SfxMapUnit eDestinationMapUnit, uno::Any & rMetric ) throw() in SvxUnoConvertFromMM() argument
360 switch( rMetric.getValueTypeClass() ) in SvxUnoConvertFromMM()
363 rMetric <<= (sal_Int8)(MM_TO_TWIPS(*(sal_Int8*)rMetric.getValue())); in SvxUnoConvertFromMM()
366 rMetric <<= (sal_Int16)(MM_TO_TWIPS(*(sal_Int16*)rMetric.getValue())); in SvxUnoConvertFromMM()
369 rMetric <<= (sal_uInt16)(MM_TO_TWIPS(*(sal_uInt16*)rMetric.getValue())); in SvxUnoConvertFromMM()
372 rMetric <<= (sal_Int32)(MM_TO_TWIPS(*(sal_Int32*)rMetric.getValue())); in SvxUnoConvertFromMM()
375 rMetric <<= (sal_uInt32)(MM_TO_TWIPS(*(sal_uInt32*)rMetric.getValue())); in SvxUnoConvertFromMM()