coverity#735422 Logically dead code

Change-Id: I5639746f25024b0808e9c4e620bb0fa9f1a2c0b6
This commit is contained in:
Caolán McNamara
2014-06-10 10:10:30 +01:00
parent 8f49a83b3c
commit e123213f46

View File

@@ -832,8 +832,7 @@ bool SvxFontHeightItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
// CONVERT_TWIPS is not set. // CONVERT_TWIPS is not set.
if( bConvert ) if( bConvert )
{ {
long nTwips = bConvert ? nHeight : convertMm100ToTwip(nHeight); aFontHeight.Height = (float)( nHeight / 20.0 );
aFontHeight.Height = (float)( nTwips / 20.0 );
} }
else else
{ {