From e123213f46eb1b1e278bc816a97e51f0f3a2ac86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 10 Jun 2014 10:10:30 +0100 Subject: [PATCH] coverity#735422 Logically dead code Change-Id: I5639746f25024b0808e9c4e620bb0fa9f1a2c0b6 --- editeng/source/items/textitem.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index e4b5b8d0040d..eb7aaecb2ac0 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -832,8 +832,7 @@ bool SvxFontHeightItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const // CONVERT_TWIPS is not set. if( bConvert ) { - long nTwips = bConvert ? nHeight : convertMm100ToTwip(nHeight); - aFontHeight.Height = (float)( nTwips / 20.0 ); + aFontHeight.Height = (float)( nHeight / 20.0 ); } else {