summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/items/textitem.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index a4ad9f8847f8..59cb17053a72 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -811,11 +811,9 @@ static sal_uInt32 lcl_GetRealHeight_Impl(sal_uInt32 nHeight, sal_uInt16 nProp, M
break;
}
case MapUnit::Map100thMM:
- //then the core is surely also in 1/100 mm
- nDiff = static_cast<short>(nProp);
- break;
+ //then the core is surely also in 1/100 mm
case MapUnit::MapTwip:
- // Here surely TWIP
+ // Here surely TWIP
nDiff = static_cast<short>(nProp);
break;
default: