diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 16:49:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 20:21:03 +0100 |
commit | 64b040866df60d3e89dcda17b63a1fffdac5e9df (patch) | |
tree | bce37fd64a897e01cb723cf01dbe09173e414a90 /editeng | |
parent | 947177a5cb79e03a415d9c3d1203420c874d2b35 (diff) |
coverity#735422 Logically dead code
Change-Id: I8e1694c311e1e29dc5ea59b292c6afe90fb762fa
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/textitem.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index b9767122d95a..8b3e3571d754 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -873,8 +873,7 @@ bool SvxFontHeightItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const // CONVERT_TWIPS is not set. if( bConvert ) { - long nTwips = bConvert ? nHeight : convertMm100ToTwip(nHeight); - rVal <<= (float)( nTwips / 20.0 ); + rVal <<= (float)( nHeight / 20.0 ); } else { |