diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index 59cb17053a72..3931dd8176be 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -811,9 +811,8 @@ 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 case MapUnit::MapTwip: - // Here surely TWIP + // In both cases, the units match core nDiff = static_cast(nProp); break; default: