summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-16 16:49:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-16 20:21:03 +0100
commit64b040866df60d3e89dcda17b63a1fffdac5e9df (patch)
treebce37fd64a897e01cb723cf01dbe09173e414a90 /editeng/source
parent947177a5cb79e03a415d9c3d1203420c874d2b35 (diff)
coverity#735422 Logically dead code
Change-Id: I8e1694c311e1e29dc5ea59b292c6afe90fb762fa
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/items/textitem.cxx3
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
{