summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-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 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
{