diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 10:10:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 10:48:42 +0100 |
commit | e123213f46eb1b1e278bc816a97e51f0f3a2ac86 (patch) | |
tree | d8940eb331ffab2ffa9013a9d3e7b35e8fc75175 /editeng/source/items/textitem.cxx | |
parent | 8f49a83b3c41dfe846a93d6220f27c75ef2fb0b2 (diff) |
coverity#735422 Logically dead code
Change-Id: I5639746f25024b0808e9c4e620bb0fa9f1a2c0b6
Diffstat (limited to 'editeng/source/items/textitem.cxx')
-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 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 { |